fix(deps): update all non-major dependencies #802
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: Run Jest tests | |
on: [pull_request] | |
jobs: | |
build-test: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: 7 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run tests and generate report | |
run: pnpm exec jest --ci --testResultsProcessor=jest-junit | |
- name: Push report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Jest report | |
path: junit.xml | |
reporter: jest-junit |