Skip to content

Commit d02c011

Browse files
committed
Fix tests; separate action configs
1 parent 2333be1 commit d02c011

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

.github/workflows/audit.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Audit
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
audit:
11+
name: "Audit"
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [22.x]
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm audit --parseable --production --audit-level=moderate

.github/workflows/tests.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Audit
1+
name: Tests
22

33
on:
44
push:
@@ -7,20 +7,6 @@ on:
77
pull_request:
88

99
jobs:
10-
audit:
11-
name: "Audit"
12-
runs-on: ubuntu-latest
13-
strategy:
14-
matrix:
15-
node-version: [22.x]
16-
steps:
17-
- uses: actions/checkout@v4
18-
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v4
20-
with:
21-
node-version: ${{ matrix.node-version }}
22-
- run: npm audit --parseable --production --audit-level=moderate
23-
2410
test:
2511
name: "Tests"
2612
runs-on: ubuntu-latest
@@ -37,4 +23,3 @@ jobs:
3723
env:
3824
CI: true
3925
- run: npm run test
40-
- run: npm run test:integration

0 commit comments

Comments
 (0)