Skip to content

Commit

Permalink
build: tweak changeset action (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jun 18, 2024
1 parent 8a01093 commit ab83c2a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store

jobs:
version:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: checkout code repository
Expand All @@ -22,17 +24,12 @@ jobs:
node-version: 20

- run: corepack enable
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
run: pnpm install

- name: create and publish versions
uses: changesets/action@v1
with:
version: pnpm changeset version
commit: "chore: update versions"
title: "chore: update versions"
publish: pnpm publish -r
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ab83c2a

Please sign in to comment.