feat: add support for nx 19 #265
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: Tests | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [16, 17, 18, 19] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Configure CI Git User | |
run: | | |
git config --global user.name 'TheUnderScorer' | |
git config --global user.email '[email protected]' | |
git remote set-url origin https://TheUnderScorer:[email protected]/TheUnderScorer/nx-semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Typecheck | |
run: npm run typecheck | |
- name: Lint | |
run: npm run lint | |
- name: Run tests | |
run: npx nx test nx-semantic-release --runInBand --skip-nx-cache |