diff --git a/.github/workflows/publish beta npm.yml b/.github/workflows/publish beta npm.yml index 56ac01f..65d8b27 100644 --- a/.github/workflows/publish beta npm.yml +++ b/.github/workflows/publish beta npm.yml @@ -30,19 +30,11 @@ jobs: git config --local user.name "GitHub Action" - name: Change to Package Directory - run: cd packages/${{ github.event.inputs.packagePath }} - - - name: Install Package Dependencies - run: npm install - - - name: Build Package - run: npm run build - - - name: Update Package Version - run: npm version ${{ github.event.inputs.betaVersion }} - - - name: Publish Package run: | + cd packages/${{ github.event.inputs.packagePath }} + npm install + npm run build + npm version ${{ github.event.inputs.betaVersion }} echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc npm publish env: