Skip to content

Commit

Permalink
Configure .npmrc in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
komiya-atsushi committed Jan 11, 2024
1 parent 6737389 commit f15036c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Configure git
run: |
git config --global user.name 'github-actions[bot]'
Expand All @@ -31,5 +32,7 @@ jobs:
run: npm version ${{ inputs.target_element }}
- run: npm ci
- run: make publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: git push
- run: git push --tags

0 comments on commit f15036c

Please sign in to comment.