Skip to content

Commit 215d916

Browse files
committed
Use nodenv shared test workflow
1 parent 92138a1 commit 215d916

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
name: Test
2-
on: [push, pull_request]
3-
4-
permissions:
5-
contents: read
2+
on:
3+
push:
4+
pull_request:
5+
schedule: [{ cron: "0 0 10 * *" }] # monthly https://crontab.guru/#0_0_10_*_*
6+
workflow_dispatch:
67

8+
permissions: {}
79
jobs:
810
test:
9-
runs-on: ubuntu-latest
10-
11-
steps:
12-
- name: Harden the runner (Audit all outbound calls)
13-
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
14-
with:
15-
egress-policy: audit
16-
17-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
18-
- run: npm cit
11+
uses: nodenv/.github/.github/workflows/test.yml@v6
12+
with: { superlinter: false }
13+
permissions:
14+
contents: read
15+
packages: read
16+
id-token: write
17+
security-events: write
18+
statuses: write

0 commit comments

Comments
 (0)