Skip to content

Commit

Permalink
Fix ESLint plugin release action
Browse files Browse the repository at this point in the history
  • Loading branch information
vdiez committed Oct 18, 2024
1 parent af69740 commit 273825f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release_eslint_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ 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 }}
run: |
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
Expand Down

0 comments on commit 273825f

Please sign in to comment.