Skip to content

Commit 94f2cea

Browse files
committed
set the docker workspace to bindings/node
1 parent ec8fbb5 commit 94f2cea

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/node-js-packaging.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,8 @@ jobs:
278278
uses: addnab/docker-run-action@v3
279279
with:
280280
image: ${{ steps.docker.outputs.IMAGE }}
281-
options: '-v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }} --platform ${{ steps.docker.outputs.PLATFORM }}'
282-
run: |
283-
node -e "
284-
console.log('process.arch:', process.arch);
285-
console.log('process.platform:', process.platform);
286-
"
287-
yarn test
281+
options: '-v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }}/binding/node --platform ${{ steps.docker.outputs.PLATFORM }}'
282+
run: yarn test
288283
publish:
289284
name: Publish
290285
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)