Skip to content

Commit 03e33e3

Browse files
committed
feat: incorrect yaml
1 parent 086f266 commit 03e33e3

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/release-package.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,6 @@ jobs:
4444
env:
4545
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
47-
- name: Publish to npm
48-
- uses: actions/checkout@v2
49-
- uses: actions/setup-node@v2
50-
with:
51-
node-version: 12
52-
registry-url: https://registry.npmjs.org/
53-
scope: tignum_eng
54-
- run: npm ci
55-
- run: npm install
56-
- run: npm install && npm publish --@tignum_eng:registry=https://registry.npmjs.org/
57-
env:
58-
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
5947
- name: Slack Notification
6048
uses: rtCamp/action-slack-notify@v2
6149
env:
@@ -67,3 +55,16 @@ jobs:
6755
SLACK_TITLE: ${{ github.event.inputs.version }} Actions Pdf Web Component
6856
SLACK_USERNAME: GitHubActions
6957
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
58+
publish-npm:
59+
needs: build
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v1
63+
- uses: actions/setup-node@v1
64+
with:
65+
node-version: 12
66+
registry-url: https://registry.npmjs.org/
67+
scope: tignum_eng
68+
- run: npm install && npm publish --@tignum_eng:registry=https://registry.npmjs.org/
69+
env:
70+
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 commit comments

Comments
 (0)