Skip to content

Commit

Permalink
Add tests to Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
demccormack committed Oct 13, 2023
1 parent 9419313 commit 27dfd11
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/lint.yml → .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Frontend

on: [push, pull_request]

Expand All @@ -8,8 +8,8 @@ permissions:
pull-requests: read

jobs:
run-linters:
name: Run linters
test-lint-and-format:
name: Test lint and format
runs-on: ubuntu-latest

steps:
Expand All @@ -19,7 +19,10 @@ jobs:
- name: Install Node.js dependencies
run: cd frontend && npm ci

- name: Run linters
- name: Run tests
run: npx vitest --run

- name: Lint and format
uses: wearerequired/[email protected]
with:
eslint: true
Expand Down

0 comments on commit 27dfd11

Please sign in to comment.