From 273825f98b35b29b409fbf4f89efce075c651d96 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Fri, 18 Oct 2024 14:30:50 +0200 Subject: [PATCH] Fix ESLint plugin release action --- .github/workflows/release_eslint_plugin.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_eslint_plugin.yml b/.github/workflows/release_eslint_plugin.yml index 541d20416a9..64992f61147 100644 --- a/.github/workflows/release_eslint_plugin.yml +++ b/.github/workflows/release_eslint_plugin.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 18 - - run: cp .github/workflows/.npmrc packages/jsts/src/rules/.npmrc + - run: cp .github/workflows/.npmrc .npmrc - name: Publish npm package env: NPM_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).npm_token }} @@ -45,6 +45,7 @@ jobs: jfrog rt npm-config --repo-resolve npm --repo-deploy sonarsource-npm-public-qa jfrog rt npm-ci npm run eslint-plugin:compile + cp .npmrc lib/.npmrc cd lib npm version $RELEASE_TAG --no-git-tag-version npm publish