Skip to content

Commit c329672

Browse files
Merge pull request #8 from tsvetlin/fix-immutable-security-vuln
Fix immutable security vulnerability Upgrades sass from 1.35.1 to 1.98.0 to resolve SNYK-JS-IMMUTABLE-15423650. Also updates CI to Node 20 and GitHub Actions v4. Note: the sass major version jump may introduce deprecation warnings for @import usage in downstream consumers (canvas-lms) — recommend verifying SCSS compilation.
2 parents f259e50 + 9e0be53 commit c329672

File tree

3 files changed

+534
-33
lines changed

3 files changed

+534
-33
lines changed

.github/workflows/node.js.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [master]
99
pull_request:
10-
branches: [ master ]
10+
branches: [master]
1111

1212
jobs:
1313
build:
@@ -16,16 +16,13 @@ jobs:
1616
strategy:
1717
matrix:
1818
node-version:
19-
- 14.x
20-
# - 16.x CANT do 15+ since node-sass doesn't compile there
19+
- 20.x
2120

2221
steps:
23-
- uses: actions/checkout@v2
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v2
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm i -g npm@latest
30-
- run: npm ci --ignore-scipts # avoid "fsevents not accessible from chokidar" error
31-
- run: npm test
22+
- uses: actions/checkout@v4
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm ci --ignore-scripts # avoid "fsevents not accessible from chokidar" error
28+
- run: npm test

0 commit comments

Comments
 (0)