We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58e817e commit 24b9ff5Copy full SHA for 24b9ff5
4 files changed
.github/workflows/build.yml
@@ -12,6 +12,9 @@ on:
12
permissions:
13
contents: read
14
15
+env:
16
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
17
+
18
jobs:
19
build:
20
name: Build and validate
@@ -26,19 +29,13 @@ jobs:
26
29
uses: actions/setup-node@v4
27
30
with:
28
31
node-version: 20
- cache: yarn
-
- - name: Enable Yarn
32
- run: |
33
- corepack enable
34
- corepack prepare yarn@1.22.22 --activate
35
- yarn --version
+ cache: npm
36
37
- name: Install dependencies
38
- run: yarn install --ignore-scripts --non-interactive
+ run: npm ci --ignore-scripts
39
40
- name: Build site
41
- run: yarn build
+ run: npm run build
42
43
- - name: Audit dependencies
44
- run: yarn audit --groups dependencies --level high
+ - name: Audit high-risk dependencies
+ run: npm audit --omit=dev --audit-level=high
0 commit comments