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 dd33a6f commit 14aac2cCopy full SHA for 14aac2c
.github/workflows/npm-publish.yml
@@ -0,0 +1,23 @@
1
+# This is a basic workflow to help you get started with Actions
2
+
3
+name: CD
4
5
+# Controls when the workflow will run
6
+on:
7
+ # Triggers the workflow on push or pull request events but only for the master branch
8
+ push:
9
+ branches: [ master ]
10
11
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12
+jobs:
13
+ publish:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v1
17
+ - uses: actions/setup-node@v1
18
+ with:
19
+ node-version: 10
20
+ - run: npm install
21
+ - uses: JS-DevTools/npm-publish@v1
22
23
+ token: ${{ secrets.NPM_TOKEN }}
0 commit comments