Update dependency filesize from 10.1.6 to 11.0.16 #2681
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: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-and-build: | |
| name: 'Test & build' | |
| runs-on: buildjet-4vcpu-ubuntu-2204 | |
| timeout-minutes: 30 | |
| steps: | |
| - name: 'Checkout the repository' | |
| uses: actions/checkout@v4 | |
| - name: 'Setup Node.JS' | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.20.1' | |
| - name: 'Cache dependencies' | |
| uses: buildjet/cache@v4 | |
| with: | |
| path: '**/node_modules' | |
| key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }} | |
| - name: 'Install dependencies' | |
| run: yarn install --frozen-lockfile | |
| - name: 'Run tests' | |
| run: yarn test --coverage | |
| - name: 'Save test coverage' | |
| uses: codecov/codecov-action@v5 | |
| - name: 'Check code formatting' | |
| run: yarn format:check | |
| - name: 'Run linter' | |
| run: yarn lint | |
| - name: 'Build package' | |
| run: yarn build |