Add tests with typescript@latest #2
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 (ts v5.3) | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '!**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Ubunut/Node v20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: npm install typescript@latest | |
- run: npm run lint | |
- run: npm run build | |
- run: npm run knip | |
- run: npm run knip:production | |
- run: npm test |