From 9f6c09a0b54db5028f2636592a8a8ebfb85dc958 Mon Sep 17 00:00:00 2001 From: steveluscher Date: Fri, 8 Mar 2024 03:40:39 +0000 Subject: [PATCH] Keep the test validator running the whole time you're publishing snapshots --- .github/workflows/publish-prerelease-packages.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-prerelease-packages.yml b/.github/workflows/publish-prerelease-packages.yml index 982a9ca00896..d5b31fa6372a 100644 --- a/.github/workflows/publish-prerelease-packages.yml +++ b/.github/workflows/publish-prerelease-packages.yml @@ -34,10 +34,6 @@ jobs: - name: Run Build Step (force) run: pnpm turbo build --concurrency=100% --filter=\!@solana/web3.js --force=true - - name: Stop Test Validator - if: always() && steps.start-test-validator.outcome == 'success' - run: kill ${{ steps.start-test-validator.outputs.pid }} - - name: Configure NPM token run: | pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" @@ -55,3 +51,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: Stop Test Validator + if: always() && steps.start-test-validator.outcome == 'success' + run: kill ${{ steps.start-test-validator.outputs.pid }}