We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9a4d8b commit 0984fb1Copy full SHA for 0984fb1
.github/workflows/publish_in_npm.yml
@@ -0,0 +1,24 @@
1
+name: Publish plugin
2
+on:
3
+ release:
4
+ types:
5
+ - created
6
+jobs:
7
+ publish-npm:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ node-version: [14.x]
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Build on Node.js ${{ matrix.node-version }}
15
+ uses: actions/setup-node@v2
16
+ with:
17
+ node-version: ${{ matrix.node-version }}
18
+ registry-url: 'https://registry.npmjs.org'
19
+ - name: Run npm install ci
20
+ run: npm ci --only=production
21
+ - name: Publish package
22
+ run: npm publish --ignore-scripts --access public
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_GUIDESMITHS }}
.travis.yml
0 commit comments