Skip to content

Commit dbe426d

Browse files
ci(sdk): publish npm sdk (#419)
1 parent d104c61 commit dbe426d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish Package NPM
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
target:
7+
description: 'Select deployment target'
8+
required: true
9+
default: staging
10+
type: choice
11+
options:
12+
- staging
13+
- prod
14+
15+
jobs:
16+
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+
working-directory: packages/sdk
24+
secrets:
25+
npm-token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)