Build(deps): Bump @babel/traverse and nyc in /src #37
Workflow file for this run
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: PR Check | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| code-quality: | |
| name: Run Code Quality Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '22.15' | |
| - name: Restore node_modules cache | |
| id: cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: src/node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('src/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-modules- | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: ./src | |
| - name: Save node_modules cache | |
| if: steps.cache.outputs.cache-hit != 'true' | |
| uses: actions/cache@v3 | |
| with: | |
| path: src/node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('src/package-lock.json') }} | |
| - name: Lint | |
| run: npm run lint | |
| working-directory: ./src |