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.
2 parents d85a550 + 2a1fba3 commit 01e9e24Copy full SHA for 01e9e24
.github/workflows/npm-publish.yml
@@ -0,0 +1,30 @@
1
+name: Publish WDIO Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ build:
9
+ if: startsWith(github.ref, 'refs/tags/prod-')
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: actions/setup-node@v2
14
+ with:
15
+ node-version: 14
16
+ - run: npm install
17
18
+ publish-npm:
19
+ needs: build
20
21
22
23
24
25
26
+ registry-url: https://registry.npmjs.org/
27
28
+ - run: npm publish --access public
29
+ env:
30
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments