build(deps-dev): Bump eslint-plugin-jest from 27.9.0 to 28.5.0 #7180
This file contains 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: | |
- master | |
- next | |
- 'v*' | |
pull_request: {} | |
schedule: | |
- cron: '0 3 * * *' # daily, at 3am | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Node 18.x - ubuntu | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- name: install dependencies | |
run: npm ci | |
- run: npm run lint | |
- run: npm run test:jest | |
- run: npm run update && git diff --exit-code | |
nodeX: | |
name: Node ${{ matrix.node-version }} - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }}-latest | |
timeout-minutes: 15 | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
strategy: | |
matrix: | |
os: [ubuntu, windows] | |
node-version: [18.x, 20.x, 21.x] | |
# excluded because it is the `test` job above | |
exclude: | |
- os: ubuntu | |
node-version: 18.x | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: install dependencies | |
run: npm ci | |
- run: npm run test:jest | |
floating-dependencies: | |
name: Floating Dependencies | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- name: install dependencies | |
run: npm install --no-package-lock | |
- run: npm run test:jest |