Merge pull request #2907 from rommapp/query-string-download-path #2616
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: Run Typescript Typecheck | |
| on: | |
| pull_request: | |
| paths: | |
| - "frontend/**" | |
| push: | |
| branches: | |
| - "master" | |
| paths: | |
| - "frontend/**" | |
| permissions: read-all | |
| jobs: | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/[email protected] | |
| - name: Set up Node.js | |
| uses: actions/[email protected] | |
| with: | |
| node-version: "18" | |
| - name: Install dependencies | |
| run: npm install | |
| working-directory: frontend | |
| - name: Run typecheck | |
| run: npm run typecheck | |
| working-directory: frontend | |
| - name: Lockfile lint | |
| run: | | |
| [ -z "$(jq -r '.packages | to_entries[] | select((.key | contains("node_modules")) and (.value.resolved | contains("git+ssh") | not) and (.value | has("resolved") and has("integrity") | not)) | .key' < package-lock.json)" ] | |
| working-directory: frontend |