mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-07 22:12:57 -05:00
26 lines
530 B
YAML
26 lines
530 B
YAML
name: Tests and checks on push
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- rewrite
|
|
|
|
jobs:
|
|
run-checks-and-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Install deps
|
|
run: npm install
|
|
- name: Prettier
|
|
run: npm run prettier:check
|
|
- name: Lint TS
|
|
run: npm run lint:ts
|
|
- name: Stylelint
|
|
run: npm run lint:styles
|
|
- name: Unit tests
|
|
run: npm run test:unit
|
|
- name: Typecheck
|
|
run: npm run typecheck
|