Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit b5f9c6d

Browse files
authored
Merge pull request #42 from fullstack-devops/feature/fix-npm-publish
fix npm publish
2 parents b359568 + 066c99e commit b5f9c6d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/Release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ jobs:
3636
- name: build applikation
3737
run: yarn run build
3838

39-
- name: dryrun publish
39+
- name: set publish config
40+
shell: bash
41+
run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_PUBLISH_TOKEN }}
42+
43+
- name: publish to npmjs
4044
working-directory: dist/material-calendar
4145
run: |
42-
npm version ${{ needs.generate_infos.outputs.version }}
46+
npm version ${{ needs.create_release.outputs.version }}
4347
npm publish -dry-run
4448
4549
- name: Publish release
46-
run: awesome-ci release publish -releaseid "${{ needs.generate_infos.outputs.releaseid }}"
50+
run: awesome-ci release publish -releaseid "${{ needs.create_release.outputs.releaseid }}"
4751
env:
4852
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49-
50-
- name: set publish config
51-
shell: bash
52-
run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)