Skip to content

Commit 8f77f2a

Browse files
committed
[Tests] add --disable-proto=delete tests
See #4.
1 parent 3cc3708 commit 8f77f2a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Diff for: .github/workflows/node-twenties.yml

+31
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,34 @@ jobs:
1212
range: '>= 20'
1313
type: minors
1414
command: npm run tests-only
15+
16+
no-proto:
17+
name: 'node, --disable-proto=delete'
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Harden Runner
21+
uses: step-security/harden-runner@v2
22+
with:
23+
disable-sudo: true
24+
egress-policy: audit
25+
allowed-endpoints: >
26+
github.com:443
27+
raw.githubusercontent.com:443
28+
nodejs.org:443
29+
iojs.org:443
30+
registry.npmjs.org:443
31+
actions-results-receiver-production.githubapp.com:443
32+
33+
- uses: actions/checkout@v4
34+
with:
35+
show-progress: false
36+
- uses: ljharb/actions/node/install@main
37+
- run: NODE_OPTIONS=--disable-proto=delete npm run tests-only
38+
- uses: codecov/[email protected]
39+
40+
finisher:
41+
needs: [tests, no-proto]
42+
name: 'node >= 20'
43+
runs-on: ubuntu-latest
44+
steps:
45+
- run: true

0 commit comments

Comments
 (0)