We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d2e041 commit 357ea98Copy full SHA for 357ea98
.github/workflows/code_health.yaml
@@ -6,6 +6,21 @@ on:
6
- main
7
pull_request:
8
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
+
24
check-style:
25
runs-on: ubuntu-latest
26
steps:
@@ -42,9 +57,5 @@ jobs:
42
57
cache: "npm"
43
58
- name: Install dependencies
44
59
run: npm ci
45
- - name: Check NPM
46
- env:
47
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
48
- run: npm whoami
49
60
- name: Run tests
50
61
run: npm test
0 commit comments