Skip to content

Commit 24b9ff5

Browse files
committed
Switch CI build to npm
1 parent 58e817e commit 24b9ff5

4 files changed

Lines changed: 18405 additions & 8255 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
permissions:
1313
contents: read
1414

15+
env:
16+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
17+
1518
jobs:
1619
build:
1720
name: Build and validate
@@ -26,19 +29,13 @@ jobs:
2629
uses: actions/setup-node@v4
2730
with:
2831
node-version: 20
29-
cache: yarn
30-
31-
- name: Enable Yarn
32-
run: |
33-
corepack enable
34-
corepack prepare yarn@1.22.22 --activate
35-
yarn --version
32+
cache: npm
3633

3734
- name: Install dependencies
38-
run: yarn install --ignore-scripts --non-interactive
35+
run: npm ci --ignore-scripts
3936

4037
- name: Build site
41-
run: yarn build
38+
run: npm run build
4239

43-
- name: Audit dependencies
44-
run: yarn audit --groups dependencies --level high
40+
- name: Audit high-risk dependencies
41+
run: npm audit --omit=dev --audit-level=high

0 commit comments

Comments
 (0)