Skip to content

Commit

Permalink
Update npm-publish-github-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ladeirarodolfo authored Nov 15, 2023
1 parent 57e3601 commit 5507c38
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,7 @@ on:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --frozen-lockfile
- run: yarn build

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -31,6 +20,8 @@ jobs:
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- run: yarn install --frozen-lockfile
- run: yarn build
- run: lerna publish --ignore-scripts --yes --canary --registry "https://npm.pkg.github.com/"
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 5507c38

Please sign in to comment.