From 196b29ed9ce4089a7681a3f661af7ca89b0d8f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beltr=C3=A1n=20Garcia=20Balbuena?= Date: Tue, 7 Feb 2023 17:55:55 +0100 Subject: [PATCH] fix(ci): change release action to use npm (#1065) EX-7971 --- .github/actions/release-alpha/action.yml | 6 +++--- .github/workflows/publish-release.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/release-alpha/action.yml b/.github/actions/release-alpha/action.yml index 9693311f60..17021c0de8 100644 --- a/.github/actions/release-alpha/action.yml +++ b/.github/actions/release-alpha/action.yml @@ -16,10 +16,10 @@ runs: git config --local user.name "empathy/x" shell: bash - - name: Configure pnpm auth + - name: Configure npm auth run: | - pnpm config set registry="https://registry.npmjs.org/" - pnpm config set _authToken=${NPM_TOKEN} + npm config set registry="https://registry.npmjs.org/" + npm config set _authToken=${NPM_TOKEN} shell: bash env: NPM_TOKEN: ${{ inputs.npm_token }} diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a78559b393..bb5e98b077 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -38,15 +38,15 @@ jobs: git config --local user.email "x@empathy.co" git config --local user.name "empathy/x" - - name: configure pnpm auth + - name: configure npm auth run: | - pnpm config set registry="https://registry.npmjs.org/" - pnpm config set _authToken=${NPM_TOKEN} + npm config set registry="https://registry.npmjs.org/" + npm config set _authToken=${NPM_TOKEN} env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: publish the release - run: npm run publish-release + run: pnpm run publish-release - name: push tags uses: ad-m/github-push-action@master