build(ci): cleanup workflows
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 7 Sep 2023 18:27:23 +0000 (20:27 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 7 Sep 2023 18:27:23 +0000 (20:27 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.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