Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
feat(converter): add support of graphql mode (#17)
Browse files Browse the repository at this point in the history
closes #16
  • Loading branch information
derevnjuk authored Dec 6, 2020
1 parent cb11642 commit cfe9476
Show file tree
Hide file tree
Showing 7 changed files with 1,909 additions and 2,106 deletions.
12 changes: 6 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/no-shadow": [
"error",
{
"hoist": "all"
}
],
"no-useless-escape": "error",
"quotes": "off",
"@typescript-eslint/quotes": [
Expand Down Expand Up @@ -215,12 +221,6 @@
"no-multiple-empty-lines": "error",
"no-new-wrappers": "error",
"no-restricted-syntax": ["error", "ForInStatement"],
"no-shadow": [
"error",
{
"hoist": "all"
}
],
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef-init": "error",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [11.x, 12.x, 13.x]
node-version: [12.x, 13.x, 14.x]
steps:
- uses: actions/checkout@v2
with:
Expand Down
20 changes: 4 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,21 @@ on:
- 'v*'

jobs:
prepare:
runs-on: ubuntu-latest
outputs:
project_version: ${{ steps.project_version.outputs.value }}
project: ${{ steps.project.outputs.value }}
steps:
- id: project_version
run: echo ::set-output name=value::${GITHUB_REF/refs\/tags\//}
- id: project
run: echo ::set-output name=value::$(echo ${GITHUB_REPOSITORY#*/} | tr A-Z a-z)

deploy:
runs-on: ubuntu-latest
needs: prepare
env:
PROJECT: ${{ needs.prepare.outputs.project }}
VERSION: ${{ needs.prepare.outputs.project_version }}
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GPR_TOKEN }}
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}

- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'

- run: echo "VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV

- run: npm version --no-git-tag-version "$VERSION"
- run: npm ci -q
- run: npm publish
Expand Down
Loading

0 comments on commit cfe9476

Please sign in to comment.