Skip to content

Commit

Permalink
fix workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Sep 9, 2023
1 parent 9de538a commit 28d09c3
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/report-viewer-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
- ".github/workflows/report-viewer-e2e.yml"
- "report-viewer/**"
push:

jobs:
pre_job:
Expand All @@ -26,15 +27,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: "16"

- name: Install and Test 🧪
- name: Install and Build 🔧
working-directory: report-viewer
run: |
npm install
npx playwright install --with-deps
npm run build
- name: Install playwright 🔧
working-directory: report-viewer
run: npx playwright install --with-deps

- name: Run tests 🧪
working-directory: report-viewer
run: |
npm run test:e2e

0 comments on commit 28d09c3

Please sign in to comment.