We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 798759e commit af93e14Copy full SHA for af93e14
.github/workflows/publish_package.yml
@@ -0,0 +1,16 @@
1
+name: Publish Package
2
+on:
3
+ release:
4
+ types: [published]
5
+jobs:
6
+ publish:
7
+ runs-on: ubuntu-latest
8
+ env:
9
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions/setup-node@v2
13
+ with:
14
+ node-version: '14.x'
15
+ cache: 'npm'
16
+ - run: npm i && npm run build:dist && npm publish
.npmrc
@@ -0,0 +1,3 @@
+//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
+@MP-ES:registry=https://npm.pkg.github.com
+always-auth=true
0 commit comments