fix(deps): update dependency next to v13.5.0 [security] #13751
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: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: on ${{ matrix.os }} (${{ matrix.shard }}) | |
strategy: | |
matrix: | |
os: [ | |
ubuntu-latest, | |
# windows-latest, | |
# macos-latest | |
] | |
shard: ['1/2', '2/2'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16.16.0 | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Get number of CPU cores | |
id: cpu-cores | |
uses: SimenB/github-actions-cpu-cores@v2 | |
- name: Test | |
run: yarn jest --max-workers=${{ steps.cpu-cores.outputs.count }} --shard=${{ matrix.shard }} |