Skip to content

Commit

Permalink
feat: added path filter for changesets action
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderjl committed Nov 19, 2024
1 parent 6cf930c commit c782f6a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ on:
push:
branches:
- main
paths:
- 'packages/**'
env:
CI: true
# PNPM_CACHE_FOLDER: .pnpm-store
PNPM_CACHE_FOLDER: .pnpm-store
jobs:
version:
timeout-minutes: 15
Expand All @@ -21,8 +23,8 @@ jobs:
node-version: 20
- name: install pnpm
run: npm i pnpm@latest -g
# - name: setup pnpm config
# run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: Setup npmrc
run: |
cat << EOF > "$HOME/.npmrc"
Expand Down

0 comments on commit c782f6a

Please sign in to comment.