Skip to content

Commit

Permalink
fix/npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
choewy committed Mar 18, 2024
1 parent 8f57db7 commit f8027a4
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
if: needs.diff.outputs.previous != needs.diff.outputs.current
steps:
- uses: actions/checkout@v4
- name: create tag
id: tag
- id: tag
run: |
tag=${{ needs.diff.outputs.current }}
git tag $tag
Expand All @@ -43,8 +42,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: create release
uses: actions/create-release@v1
- uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -58,12 +56,11 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
- name: publish to npm
env:
registry-url: https://registry.npmjs.org
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm ci
Expand Down

0 comments on commit f8027a4

Please sign in to comment.