Skip to content

Commit

Permalink
feat(ci): run frontend tests - WF-72
Browse files Browse the repository at this point in the history
  • Loading branch information
madeindjs committed Nov 28, 2024
1 parent 52909c2 commit 32a55fb
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci-ui-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ci-ui-test
on:
push:
branches: [dev, master]
paths: ["src/ui/**"]
pull_request:
branches: [dev, master]
paths: ["src/ui/**"]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: npm

- name: Install dependencies
run: npm ci -w writer-ui

- name: Run tests
run: npm test -w writer-ui

0 comments on commit 32a55fb

Please sign in to comment.