feat: separated the workflows #60
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: Test | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: test | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Install Node.js and npm | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests | |
run: | | |
npm run package | |
npm run lint | |
npm exec tsc | |
npm test |