build(deps-dev): bump the dev-dependencies group across 1 directory with 14 updates #136
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| name: Lint, Test and Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: 'npm' | |
| node-version: 20.x | |
| - name: Install Deps | |
| run: npm ci | |
| - name: Cache build | |
| id: cache-build | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: cache-build | |
| with: | |
| path: ./dist | |
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-build-${{ env.cache-name }}- | |
| ${{ runner.os }}-build- | |
| ${{ runner.os }}- | |
| - name: Run Build | |
| run: npm run build | |
| - name: Run Lint | |
| run: npm run lint | |
| - name: Run Format | |
| run: npm run format:check | |
| - name: Cache Spell Check | |
| id: cache-spell-check | |
| uses: actions/cache@v4 | |
| with: | |
| path: ./.cspell | |
| key: cspell-cache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
| - name: Run Spell Check | |
| run: npm run spell-check | |
| - name: Run Test | |
| run: npm run test:coverage |