Merge pull request #646 from Thorium-Sim/torpedo-power #877
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 | |
- develop | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: npm install | |
- name: Lint | |
run: | | |
npm run lint | |
- name: TypeCheck | |
run: | | |
npm run typecheck | |
- name: Test | |
run: | | |
npm run test |