Downgrade testing and dependencies to v18 (#82) #236
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 | |
on: | |
push: | |
jobs: | |
run-static-tests: | |
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 |