Skip to content

Commit

Permalink
tweak config set
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jan 11, 2025
1 parent fe31475 commit 88dd12b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ jobs:

plugin:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

steps:
- uses: actions/checkout@v4
- name: Use Node.js LTS
Expand All @@ -53,8 +49,12 @@ jobs:
cache: 'npm'
- name: generate contents
run: |
npm config set _authToken=$NPM_TOKEN
npm install
npm run build:plugin
- name: publish
run: npm publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
working-directory: plugins

0 comments on commit 88dd12b

Please sign in to comment.