Skip to content

Commit 8d909c2

Browse files
committed
Add GitHub Actions workflow for publishing NPM package and update Node.js version
1 parent f747df4 commit 8d909c2

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/publish.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Publish NPM Package
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@main
10+
with:
11+
scope: '@iExecBlockchainComputing'
12+
node-version: '20'
13+
registry-url: 'https://registry.npmjs.org'
14+
secrets:
15+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

0 commit comments

Comments
 (0)