Skip to content

Commit 357ea98

Browse files
committed
fix: check
1 parent 9d2e041 commit 357ea98

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/code_health.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ on:
66
- main
77
pull_request:
88
jobs:
9+
check-npm:
10+
runs-on: ubuntu-latest
11+
environment: Production
12+
steps:
13+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version-file: package.json
18+
cache: "npm"
19+
- name: Check NPM
20+
env:
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
run: npm whoami
23+
924
check-style:
1025
runs-on: ubuntu-latest
1126
steps:
@@ -42,9 +57,5 @@ jobs:
4257
cache: "npm"
4358
- name: Install dependencies
4459
run: npm ci
45-
- name: Check NPM
46-
env:
47-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
48-
run: npm whoami
4960
- name: Run tests
5061
run: npm test

0 commit comments

Comments
 (0)