Skip to content

Commit 09b65d5

Browse files
committed
Move to npm from yarn
1 parent 6ecea45 commit 09b65d5

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/package.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ jobs:
4545
- name: Use Node.js 20
4646
uses: actions/setup-node@v4
4747
with:
48-
cache: yarn
48+
cache: npm
4949
node-version: 20
5050

5151
- name: Install dependencies
52-
run: yarn install --frozen-lockfile --ignore-scripts
52+
run: npm ci
5353

5454
- name: Prebuild
55-
run: yarn build
55+
run: npm run build
5656

5757
- name: Upload artifacts
5858
uses: actions/upload-artifact@v4
@@ -77,10 +77,10 @@ jobs:
7777
submodules: true
7878

7979
- name: Install dependencies
80-
run: yarn install --frozen-lockfile --ignore-scripts
80+
run: npm ci
8181

8282
- name: Prebuild
83-
run: yarn build
83+
run: npm run build
8484

8585
- name: Upload artifacts
8686
uses: actions/upload-artifact@v4
@@ -105,10 +105,10 @@ jobs:
105105
submodules: true
106106

107107
- name: Install dependencies
108-
run: yarn install --frozen-lockfile --ignore-scripts
108+
run: npm ci
109109

110110
- name: Prebuild
111-
run: yarn build
111+
run: npm run build
112112

113113
- name: Upload artifacts
114114
uses: actions/upload-artifact@v4
@@ -134,10 +134,10 @@ jobs:
134134
dockerRunArgs: --volume "${PWD}:/repo" --workdir /repo
135135
install: |
136136
apk add --update make g++ python3
137-
apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.19/main/ nodejs~=20 yarn
137+
apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.19/main/ nodejs~=20 npm
138138
run: |
139-
yarn install --frozen-lockfile --ignore-scripts
140-
yarn build
139+
npm ci
140+
npm run build
141141
142142
- name: Upload artifacts
143143
uses: actions/upload-artifact@v4
@@ -159,10 +159,10 @@ jobs:
159159
uses: vmactions/freebsd-vm@v1
160160
with:
161161
prepare: |
162-
pkg install -y gmake python3 yarn-node20
162+
pkg install -y gmake python3 npm-node20
163163
run: |
164-
yarn install --frozen-lockfile --ignore-scripts
165-
yarn build
164+
npm ci
165+
npm run build
166166
sync: sshfs
167167

168168
- name: Upload artifacts
@@ -195,7 +195,7 @@ jobs:
195195
run: mkdir prebuilds && cp --recursive prebuild-*/* prebuilds/
196196

197197
- name: Pack package
198-
run: yarn prepare && yarn pack
198+
run: npm pack
199199

200200
- name: Upload package artifact
201201
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)