diff --git a/.github/workflows/deploy-RELEASE.yml b/.github/workflows/deploy-RELEASE.yml index 61d5396..0914763 100644 --- a/.github/workflows/deploy-RELEASE.yml +++ b/.github/workflows/deploy-RELEASE.yml @@ -37,10 +37,12 @@ jobs: node-version: 20.x registry-url: https://registry.npmjs.org scope: rubenhalman - - run: npm ci - - run: | - git config --global user.name ${{ vars.USER_NAME }} - git config --global user.email ${{ vars.USER_EMAIL }} - - run: npm publish + - name: Publish + run: | + npm run build + cp package.json out + cp tsconfig.cjs.json out + cd out + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKENX }} diff --git a/.github/workflows/generate-RELEASE.yml b/.github/workflows/generate-RELEASE.yml index 27cb960..a93c41d 100644 --- a/.github/workflows/generate-RELEASE.yml +++ b/.github/workflows/generate-RELEASE.yml @@ -57,8 +57,5 @@ jobs: echo "tag done" git push --tags echo "tag push done" - - run: | - cd out - npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKENX }}