1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-28 16:19:53 +02:00

add gh action for running checks

This commit is contained in:
Morris Brodersen
2023-12-02 11:20:55 +01:00
parent f63c31d37e
commit 6efb9d75b0

22
.github/workflows/checks.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Checks
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run format-check
- run: npm run lint
- run: npm run lint-styles
- run: npm run dev &
- run: npx playwright install --with-deps
- run: npm run test-coverage
env:
CI: true