Skip to content

Commit 5d3c6c2

Browse files
authored
fix(build): fixing publication (#310)
1 parent 6a00737 commit 5d3c6c2

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/release-please.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,10 @@ jobs:
1717
- uses: actions/setup-node@v1
1818
with:
1919
node-version: 14
20-
registry-url: 'https://external-dot-oss-automation.appspot.com/'
2120
- run: npm install
2221
env:
2322
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
2423
- run: npm run compile
25-
- run: npm publish
26-
env:
27-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
28-
if: ${{ steps.release.outputs.release_created }}
2924
- name: push Deno release
3025
run: |
3126
git config user.name github-actions[bot]
@@ -38,3 +33,14 @@ jobs:
3833
git tag -a ${{ steps.release.outputs.tag_name }}-deno -m 'chore: ${{ steps.release.outputs.tag_name }} release'
3934
git push origin ${{ steps.release.outputs.tag_name }}-deno
4035
if: ${{ steps.release.outputs.release_created }}
36+
- uses: actions/setup-node@v1
37+
with:
38+
node-version: 14
39+
registry-url: 'https://external-dot-oss-automation.appspot.com/'
40+
if: ${{ steps.release.outputs.release_created }}
41+
- run: npm install
42+
if: ${{ steps.release.outputs.release_created }}
43+
- run: npm publish
44+
env:
45+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
46+
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)