From b5b06c3caf43e88e3aa71b64a0745975e63afe76 Mon Sep 17 00:00:00 2001 From: David Zwart Date: Wed, 23 Oct 2024 17:10:24 +0200 Subject: [PATCH] fix: first release to NPM then to github itself --- .github/workflows/release-client.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-client.yml b/.github/workflows/release-client.yml index 3d0cc4d0..0ddb079b 100644 --- a/.github/workflows/release-client.yml +++ b/.github/workflows/release-client.yml @@ -58,6 +58,12 @@ jobs: run: | cat package.json + # Publish to NPM + - uses: JS-DevTools/npm-publish@v3 + with: + token: ${{ secrets.NPM_TOKEN }} + package: package.json + # Create GitHub release - name: Create release uses: actions/create-release@v1 @@ -86,8 +92,3 @@ jobs: asset_name: dist-client-${{ env.CLIENT_VERSION }}.zip asset_content_type: application/zip - # Publish to NPM - - uses: JS-DevTools/npm-publish@v3 - with: - token: ${{ secrets.NPM_TOKEN }} - package: package.json