Skip to content

Commit

Permalink
registry
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushKun committed May 16, 2024
1 parent ae3bf5d commit c29ec73
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run build
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 20
# - run: npm install
# - run: npm run build

publish-gpr:
needs: build
# needs: build
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -27,8 +27,8 @@ jobs:
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
# - run: npm install
# - run: npm run build
- run: npm publish
- run: npm install
- run: npm run build
- run: npm publish --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit c29ec73

Please sign in to comment.