Skip to content

Commit

Permalink
build: tweak changeset action (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jun 18, 2024
1 parent 57c6cb2 commit 8a01093
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout code repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: setup node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

- name: install pnpm
run: npm i pnpm@latest -g
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- run: corepack enable
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
Expand All @@ -38,4 +35,5 @@ jobs:
title: "chore: update versions"
publish: pnpm publish -r
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8a01093

Please sign in to comment.