Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
# pnpm is not pre-installed on ubuntu-latest runners; Volta manages node only.
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.19.0

# pnpm 11 ignores credentials from a project-level .npmrc. Store the
# GitHub Packages token in the trusted user config before publishing.
- name: Configure GitHub Packages authentication
run: pnpm config set '//npm.pkg.github.com/:_authToken' "$GH_NPM_TOKEN"

- name: Install Dependencies
run: pnpm install --frozen-lockfile
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4

- name: Generate release app token
id: release-app-token
uses: actions/create-github-app-token@v3
with:
app-id: ${{ vars.CASE_CI_RELEASE_APP_ID }}
private-key: ${{ secrets.CASE_CI_RELEASE_APP_PRI_KEY }}

- name: Create Release PR
uses: googleapis/release-please-action@v4
with:
release-type: node
token: ${{ secrets.PAT }}
token: ${{ steps.release-app-token.outputs.token }}
Loading