Hide seasons tab for now #1223
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 and checks on push | |
on: | |
pull_request: | |
push: | |
branches: | |
- rewrite | |
jobs: | |
run-checks-and-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: npm- | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
- name: Prettier | |
run: npm run prettier:check | |
- name: Lint TS | |
run: npm run lint:ts | |
- name: Stylelint | |
run: npm run lint:css | |
- name: Typecheck | |
run: npm run typecheck | |
- name: Check translations jsons | |
run: npm run check-translation-jsons:no-write |