chore(deps): update type definitions #1266
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Web Pinochle Quality | |
| on: | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - 'client/web/pinochle/**' | |
| - 'client/web/package.json' | |
| env: | |
| root: client/web/ | |
| app: pinochle/ | |
| full: client/web/pinochle/ | |
| jobs: | |
| security: | |
| name: Dependency Security | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: volta-cli/action@v1 | |
| - name: Install | |
| run: volta install node && volta install snyk | |
| - name: Snyk | |
| working-directory: ${{ env.root }} | |
| if: github.event == 'pull_request' | |
| env: | |
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
| run: snyk test --severity-threshold=high | |
| lint: | |
| name: "Lint JS/TS & Type Checking" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: volta-cli/action@v1 | |
| - name: Install | |
| working-directory: ${{ env.root }} | |
| run: yarn install | |
| - name: "JS/TS" | |
| working-directory: ${{ env.root }} | |
| run: yarn eslint ${{ env.app }} --ext js,ts | |
| - name: "Templates" | |
| working-directory: ${{ env.full }} | |
| run: yarn ember-template-lint . | |
| - name: "Styles" | |
| working-directory: ${{ env.root }} | |
| run: yarn stylelint ${{ env.app }}**/*.css | |
| - name: 'Type Correctness' | |
| working-directory: ${{ env.full }} | |
| run: yarn tsc --build | |