Browse Source

chore(ci): Remove extra build step from NPM publish workflow

David Höck 7 months ago
parent
commit
69c2a77113
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/publish_master_to_npm.yml

+ 3 - 3
.github/workflows/publish_master_to_npm.yml

@@ -48,11 +48,11 @@ jobs:
                   # Update version using lerna directly
                   npx lerna version $NEW_VERSION --no-git-tag-version --yes --no-push --force-publish
 
-            - name: Build packages
-              run: npm run build
+            - name: Fix git index
+              run: git update-index --skip-worktree .
 
             - name: Publish to NPM
-              run: npx lerna publish from-package --yes --dist-tag master --no-git-reset --no-verify-access
+              run: npx lerna publish from-package --yes --dist-tag master --no-git-reset
               env:
                   NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
                   NPM_CONFIG_PROVENANCE: true