Node versus npm #3
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: Dusa tests (node v18) | |
on: | |
push: | |
jobs: | |
run-static-tests-node-18: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm ci | |
- name: Check formatting with prettier | |
run: npm run prettier:check | |
- name: Check for issues with eslint | |
run: npm run lint | |
- name: Check for type errors with typescript | |
run: npm run tsc | |
- name: Run unit tests | |
run: npm run test |