sendou.ink/.github/workflows/main.yml
Kalle 84848fc78b
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
Try removing npm flag to fix CI
2024-10-10 22:28:56 +03:00

38 lines
823 B
YAML

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
- name: Formatter/Linter
run: npm run biome:check
- name: Typecheck
run: npm run typecheck
- name: Unit tests
run: npm run test:unit
- name: Check translations jsons
run: npm run check-translation-jsons:no-write