From 066c99e4b757a143a27210a4038793a32b48bb1a Mon Sep 17 00:00:00 2001 From: eksrha <58111764+eksrha@users.noreply.github.com> Date: Sun, 20 Feb 2022 21:29:11 +0100 Subject: [PATCH] fix npm publish --- .github/workflows/Release.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Release.yaml b/.github/workflows/Release.yaml index a6456a2..b6a4746 100644 --- a/.github/workflows/Release.yaml +++ b/.github/workflows/Release.yaml @@ -36,17 +36,17 @@ jobs: - name: build applikation run: yarn run build - - name: dryrun publish + - name: set publish config + shell: bash + run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_PUBLISH_TOKEN }} + + - name: publish to npmjs working-directory: dist/material-calendar run: | - npm version ${{ needs.generate_infos.outputs.version }} + npm version ${{ needs.create_release.outputs.version }} npm publish -dry-run - name: Publish release - run: awesome-ci release publish -releaseid "${{ needs.generate_infos.outputs.releaseid }}" + run: awesome-ci release publish -releaseid "${{ needs.create_release.outputs.releaseid }}" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: set publish config - shell: bash - run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_PUBLISH_TOKEN }}