Skip to content

Commit

Permalink
fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
pornkilla committed Oct 2, 2024
1 parent ffb48d3 commit 74efbde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,4 @@ jobs:
jq ".version = $(jq .version ./dist/ng-select/package.json)" \
./dist/ng-option-highlight/package.json > "$TEMPFILE"
mv "$TEMPFILE" ./dist/ng-option-highlight/package.json
- name: Set up npm registry
run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: publish @natlex/ng-option-highlight
run: yarn publish ./dist/ng-option-highlight
mv "$TEMPFILE" ./dist/ng-option-highlight/package.json
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@natlex:registry=https://npm.pkg.github.com
@natlex:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}

0 comments on commit 74efbde

Please sign in to comment.