Skip to content

Commit 4bf342a

Browse files
Athira SreekumarAthira Sreekumar
authored andcommitted
fix: Updated Node packages to fix CVEs
Resolves: #368 Signed-off-by: Athira Sreekumar [email protected]
1 parent d8f3f50 commit 4bf342a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/node-pr-jobs.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Node
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
paths:
66
- "ui/**"
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
name: Build and Test
1212
defaults:
1313
run:
@@ -40,7 +40,7 @@ jobs:
4040
TEST_COVERAGE: ${{ steps.coverage.outputs.test_coverage }}
4141

4242
lint:
43-
runs-on: ubuntu-latest
43+
runs-on: ubuntu-22.04
4444
name: ESLint
4545
defaults:
4646
run:
@@ -58,7 +58,7 @@ jobs:
5858
run: npm run lint
5959

6060
e2e-tests:
61-
runs-on: ubuntu-latest # or macos-latest, windows-latest
61+
runs-on: ubuntu-22.04 # or macos-latest, windows-latest
6262
defaults:
6363
run:
6464
working-directory: ui
@@ -72,9 +72,11 @@ jobs:
7272
- uses: microsoft/playwright-github-action@v1
7373
- name: Install dependencies
7474
run: npm ci
75+
- name: Run Playwright tests
76+
run: npx playwright test
7577
- name: run tests
7678
run: npm run test:e2e
77-
- uses: actions/upload-artifact@v3
79+
- uses: actions/upload-artifact@v4
7880
if: failure()
7981
with:
8082
name: failures

0 commit comments

Comments
 (0)