Update lock file #75
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: Tests | |
on: | |
- push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 14.x | |
- 16.x | |
- 18.x | |
- 20.x | |
jest: | |
- ./jest/24 | |
- ./jest/25 | |
- ./jest/26 | |
- ./jest/27 | |
- ./jest/29 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
clean: true | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Pack jest-runner-groups | |
run: npm pack | |
- name: Debug - List files after packing | |
run: ls -l | |
- name: Install test dependencies | |
working-directory: ${{ matrix.jest }} | |
run: npm i | |
- name: Add jest-runner-groups | |
working-directory: ${{ matrix.jest }} | |
run: npm i "../../jest-runner-groups-`cat ../../package.json | jq .version -r`.tgz" | |
- name: Debug - Output Jest configuration | |
working-directory: ${{ matrix.jest }} | |
run: npx jest --showConfig | |
- name: Run tests | |
working-directory: ${{ matrix.jest }} | |
run: | | |
node --version | |
npx jest --version | |
npm test |