Skip to content

Commit

Permalink
fix(ci): fix ci on publish on GRP
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefelipeschulle committed Oct 9, 2024
1 parent 0b1d4fa commit 2c30477
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: build packages
run: pnpm build

- name: Tests
- name: test
run: pnpm test

- name: npm package registry authentication
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: build packages
run: pnpm build

- name: Tests
- name: tests
run: pnpm test

- name: get package registry GRP
Expand All @@ -88,16 +88,5 @@ jobs:
- name: github package registry authentication
run: npm set //npm.pkg.github.com/:_authToken=${{ secrets.GHP_PACKAGES_TOKEN }}

- name: create release pull request or publish to GRP
id: changesets-grp
uses: changesets/action@v1
with:
publish: pnpm release
title: 'ci(changesets-grp): :package: version packages'
commit: 'ci(changesets-grp): version packages'
setupGitUser: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GHP_PACKAGES_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GHP_PACKAGES_TOKEN: ${{ secrets.GHP_PACKAGES_TOKEN }}
- name: publish packages on GRP
run: npm release

0 comments on commit 2c30477

Please sign in to comment.