Skip to content

Commit 484282a

Browse files
committed
feat: change actions for package
1 parent db256c6 commit 484282a

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/release.yml

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
1-
name: Publish Package
1+
name: NPM Publish Package
22

33
on:
44
release:
55
types: [created]
66

77
jobs:
8-
release:
9-
name: Publish Package
8+
build:
109
runs-on: ubuntu-latest
1110
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
11+
- uses: actions/checkout@v2
1412
- uses: actions/setup-node@v2
1513
with:
1614
node-version: '14.x'
1715
registry-url: 'https://registry.npmjs.org'
1816

19-
- name: Install Package dependencies
20-
run: yarn install
21-
- name: Build
22-
run: yarn build:minified
23-
- name: Publish
24-
run: npm publish
17+
- run: yarn install
18+
- run: yarn build:minified
19+
- run: npm publish
2520
env:
26-
NPM_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)