Skip to content

Commit c1b6734

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

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ on:
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:
1414
working-directory: ui
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: Use Node.js 12.x
18-
uses: actions/setup-node@v1
18+
uses: actions/setup-node@v3
1919
with:
2020
node-version: 12.x
2121
- name: Install Dependencies
@@ -40,16 +40,16 @@ 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:
4747
working-directory: ui
4848

4949
steps:
50-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@v4
5151
- name: Use Node.js 12.x
52-
uses: actions/setup-node@v1
52+
uses: actions/setup-node@v3
5353
with:
5454
node-version: 12.x
5555
- name: Install Dependencies
@@ -58,18 +58,18 @@ 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
6565
steps:
66-
- uses: actions/checkout@v2
66+
- uses: actions/checkout@v4
6767
- name: Increase file watcher limit
6868
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
69-
- uses: actions/setup-node@v1
69+
- uses: actions/setup-node@v3
7070
with:
7171
node-version: 12.x
72-
- uses: microsoft/playwright-github-action@v1
72+
- uses: microsoft/playwright-github-action@v1.0.0
7373
- name: Install dependencies
7474
run: npm ci
7575
- name: run tests

0 commit comments

Comments
 (0)