Skip to content

Commit 2f10c77

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 2f10c77

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@ on:
55
paths:
66
- "ui/**"
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
issues: write
12+
813
jobs:
914
build:
10-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-22.04
1116
name: Build and Test
1217
defaults:
1318
run:
@@ -40,7 +45,7 @@ jobs:
4045
TEST_COVERAGE: ${{ steps.coverage.outputs.test_coverage }}
4146

4247
lint:
43-
runs-on: ubuntu-latest
48+
runs-on: ubuntu-22.04
4449
name: ESLint
4550
defaults:
4651
run:
@@ -58,7 +63,7 @@ jobs:
5863
run: npm run lint
5964

6065
e2e-tests:
61-
runs-on: ubuntu-latest # or macos-latest, windows-latest
66+
runs-on: ubuntu-22.04 # or macos-latest, windows-latest
6267
defaults:
6368
run:
6469
working-directory: ui
@@ -72,10 +77,13 @@ jobs:
7277
- uses: microsoft/playwright-github-action@v1
7378
- name: Install dependencies
7479
run: npm ci
80+
- name: Run Playwright tests
81+
run: npx playwright test
7582
- name: run tests
7683
run: npm run test:e2e
77-
- uses: actions/upload-artifact@v3
84+
- uses: actions/upload-artifact@v4
7885
if: failure()
7986
with:
8087
name: failures
8188
path: ui/e2e/failure_output
89+

0 commit comments

Comments
 (0)