Skip to content

Commit 4a39db4

Browse files
committed
cd ./packages/${{ inputs.package }}
1 parent 897f74c commit 4a39db4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-npm-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ jobs:
353353
- name: Build TypeScript
354354
run: yarn build:ts
355355
- name: Test bindings
356-
run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-slim sh -c 'npm install -f -g yarn@1.22.19 && env DISABLE_PLUGIN_E2E_TESTS=true yarn test'
356+
run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-slim sh -c 'npm install -f -g yarn@1.22.19 && cd ./packages/${{ inputs.package }} && env DISABLE_PLUGIN_E2E_TESTS=true yarn test'
357357
test-linux-x64-musl-binding:
358358
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
359359
needs:
@@ -393,7 +393,7 @@ jobs:
393393
- name: Build TypeScript
394394
run: yarn build:ts
395395
- name: Test bindings
396-
run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-alpine sh -c 'npm install -f -g yarn@1.22.19 && env DISABLE_PLUGIN_E2E_TESTS=true yarn test'
396+
run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-alpine sh -c 'npm install -f -g yarn@1.22.19 && cd ./packages/${{ inputs.package }} && env DISABLE_PLUGIN_E2E_TESTS=true yarn test'
397397
# test-linux-aarch64-musl-binding:
398398
# name: Test bindings on aarch64-unknown-linux-musl - node@lts
399399
# needs:

0 commit comments

Comments
 (0)