Skip to content

Commit 099710a

Browse files
(ci) : add working-directory
1 parent 178c673 commit 099710a

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

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

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,19 @@ on:
1414

1515
jobs:
1616
publish-npm:
17-
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected]
18-
with:
19-
scope: '@iexec/dataprotector-sdk'
20-
registry: 'https://registry.npmjs.org'
21-
node-version: '18'
22-
environment: ${{ github.event.inputs.target }}
23-
secrets:
24-
npm-token: ${{ secrets.NPM_TOKEN }}
17+
runs-on: ubuntu-latest
18+
defaults:
19+
run:
20+
working-directory: packages/sdk
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Call reusable workflow from root of subdirectory
25+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected]
26+
with:
27+
scope: '@iexec/dataprotector-sdk'
28+
registry: 'https://registry.npmjs.org'
29+
node-version: '18'
30+
environment: ${{ github.event.inputs.target }}
31+
secrets:
32+
npm-token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)