From 6efb9d75b06fce9e0345ec41d32a7008888de4ce Mon Sep 17 00:00:00 2001 From: Morris Brodersen Date: Sat, 2 Dec 2023 11:20:55 +0100 Subject: [PATCH] add gh action for running checks --- .github/workflows/checks.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/checks.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 0000000..0e46aee --- /dev/null +++ b/.github/workflows/checks.yml @@ -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