Skip to content

V17

V17 #186

Workflow file for this run

name: test
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ lts/hydrogen, lts/iron ]
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 'latest'
run_install: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v4
- name: Test
run: |
pnpm exec nx affected -t lint,test --parallel