chore(main): release 29.1.1 #1407
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: Build and test | |
| on: pull_request | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| # Based on historical data | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Prepare Node.js environment | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: npm | |
| node-version-file: .node-version | |
| - name: Cache project 'node_modules' directory | |
| id: node-modules-cache | |
| uses: actions/cache@v4 | |
| with: | |
| key: node-modules-cache-${{ hashFiles('**/package-lock.json', '**/.node-version') }} | |
| path: node_modules/ | |
| - name: Install project npm dependencies | |
| if: ${{ steps.node-modules-cache.outputs.cache-hit != 'true' }} | |
| run: npm ci | |
| - run: npm run lint | |
| - run: npm run type-check | |
| - run: npm test | |
| - run: npm run build |