diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index d02f763..db2753c 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -30,10 +30,11 @@ jobs: registry-url: 'https://npm.pkg.github.com' cache: 'npm' - run: npm install + - run: npm run build - run: npm run release env: NPM_CONFIG_REGISTRY: 'https://npm.pkg.github.com' - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} - name: Merge Release into Trunk uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f