upd version #16
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: Run Tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Install dependencies | |
run: npm install | |
- name: Run functionality tests | |
run: npm run tests:functionality | |
- name: Functionality tests passed | |
if: success() | |
run: echo "Functionality tests passed!" | |
- name: Run typing tests | |
run: npm run tests:typing | |
- name: Typing tests passed | |
if: success() | |
run: echo "Typing tests passed!" |