Replace jest with node:test #959
Workflow file for this run
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: Node CI | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
container_tag: | |
# - "current" | |
- "lts" | |
- "20" | |
fail-fast: false | |
runs-on: ubuntu-latest | |
container: | |
image: "node:${{ matrix.container_tag }}" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Show node env | |
run: | | |
node -v | |
npm -v | |
- run: npm ci | |
- run: node --test --experimental-strip-types | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: "junit test reports node ${{ matrix.container_tag }}" | |
path: junit | |
cli_test: | |
strategy: | |
matrix: | |
container_tag: | |
# - "current" | |
- "lts" | |
- "20" | |
fail-fast: false | |
runs-on: ubuntu-latest | |
container: | |
image: "node:${{ matrix.container_tag }}" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Show node env | |
run: | | |
node -v | |
npm -v | |
- run: npm ci | |
- run: npm run build | |
- run: node --test --experimental-strip-types integrate_tests/ |