From 7e1810322bc0896099e36f17534aa122453359ad Mon Sep 17 00:00:00 2001 From: Bernardo Guerreiro Date: Wed, 31 Jan 2024 18:33:03 +0000 Subject: [PATCH] ci(publish): replace default image before npm canary publish --- .github/workflows/npm-publish-all-packages-canary.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/npm-publish-all-packages-canary.yml b/.github/workflows/npm-publish-all-packages-canary.yml index 7bcdc66475..fd147bf7b2 100644 --- a/.github/workflows/npm-publish-all-packages-canary.yml +++ b/.github/workflows/npm-publish-all-packages-canary.yml @@ -32,6 +32,9 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' scope: '@artilleryio' + - run: node ./github/workflows/scripts/replace-worker-version-in-js-file.js + env: + COMMIT_SHA: ${{ github.sha }} - run: | export COMMIT_SHA=$(git rev-parse --short HEAD) node .github/workflows/scripts/replace-package-versions-with-commit-sha.js