build(ci): cleanup workflows
[poolifier.git] / .github / workflows / npmpublish.yml
index 2782b5b94a17991c42d9292421b2f83b314decad..ebf795029fd9a8412842ff91ef1e2ae8e1f962cb 100644 (file)
@@ -57,13 +57,13 @@ jobs:
           registry-url: https://registry.npmjs.org/
           cache: 'pnpm'
 
+      - name: Install
+        run: pnpm install --ignore-scripts
+
       - name: Read package.json version
         id: package-version
         uses: jaywcjlove/github-action-package@main
 
-      - name: Install
-        run: pnpm install --ignore-scripts
-
       - name: Publish Release
         if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
         run: pnpm publish --no-git-checks