Skip to content

Commit bcd41bc

Browse files
committed
Remove leftover uses of yarn
1 parent 8a2626a commit bcd41bc

1 file changed

Lines changed: 12 additions & 17 deletions

File tree

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: build
22
env:
33
DEBUG: napi:*
44
APP_NAME: exec
@@ -190,11 +190,10 @@ jobs:
190190
uses: actions/setup-node@v4
191191
with:
192192
node-version: ${{ matrix.node }}
193-
cache: yarn
193+
cache: npm
194194
- name: Install dependencies
195195
run: |
196-
yarn config set supportedArchitectures.libc "musl"
197-
yarn install
196+
npm ci
198197
- name: Download artifacts
199198
uses: actions/download-artifact@v4
200199
with:
@@ -204,7 +203,7 @@ jobs:
204203
run: ls -R .
205204
shell: bash
206205
- name: Test bindings
207-
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine yarn test
206+
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine npm test
208207
test-linux-aarch64-gnu-binding:
209208
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
210209
needs:
@@ -229,9 +228,7 @@ jobs:
229228
shell: bash
230229
- name: Install dependencies
231230
run: |
232-
yarn config set supportedArchitectures.cpu "arm64"
233-
yarn config set supportedArchitectures.libc "glibc"
234-
yarn install
231+
npm ci
235232
- name: Set up QEMU
236233
uses: docker/setup-qemu-action@v3
237234
with:
@@ -244,7 +241,7 @@ jobs:
244241
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
245242
run: |
246243
set -e
247-
yarn test
244+
npm test
248245
ls -la
249246
test-linux-aarch64-musl-binding:
250247
name: Test bindings on aarch64-unknown-linux-musl - node@lts
@@ -263,9 +260,7 @@ jobs:
263260
shell: bash
264261
- name: Install dependencies
265262
run: |
266-
yarn config set supportedArchitectures.cpu "arm64"
267-
yarn config set supportedArchitectures.libc "musl"
268-
yarn install
263+
npm ci
269264
- name: Set up QEMU
270265
uses: docker/setup-qemu-action@v3
271266
with:
@@ -278,7 +273,7 @@ jobs:
278273
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
279274
run: |
280275
set -e
281-
yarn test
276+
npm test
282277
publish:
283278
name: Publish
284279
runs-on: ubuntu-latest
@@ -293,16 +288,16 @@ jobs:
293288
- name: Setup node
294289
uses: actions/setup-node@v4
295290
with:
296-
node-version: 20
297-
cache: yarn
291+
node-version: 22
292+
cache: npm
298293
- name: Install dependencies
299-
run: yarn install
294+
run: npm ci
300295
- name: Download all artifacts
301296
uses: actions/download-artifact@v4
302297
with:
303298
path: artifacts
304299
- name: Move artifacts
305-
run: yarn artifacts
300+
run: npm run artifacts
306301
- name: List packages
307302
run: ls -R ./npm
308303
shell: bash

0 commit comments

Comments
 (0)