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 6b7b68a commit c6147f4Copy full SHA for c6147f4
.github/workflows/publish_github.yaml
@@ -0,0 +1,29 @@
1
+name: CD_GITHUB
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+jobs:
9
+ publish_github:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/setup-node@v1
13
+ with:
14
+ node-version: 12
15
+ - uses: actions/checkout@v2
16
+ - name: change package name
17
+ uses: deef0000dragon1/json-edit-action@v1
18
+ env:
19
+ KEY: name
20
+ VALUE: "@wxsms/uiv"
21
+ FILE: package.json
22
+ - uses: c-hive/gha-yarn-cache@v1
23
+ - run: yarn --frozen-lockfile
24
25
+ PUPPETEER_SKIP_DOWNLOAD: true
26
+ - name: Build dist
27
+ run: npm run dist
28
+ - run: echo //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} >> .npmrc
29
+ - run: npm publish --registry=https://npm.pkg.github.com
0 commit comments