Skip to content

Commit

Permalink
Update action (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored Feb 20, 2024
1 parent 503a7a8 commit 01d1e9c
Show file tree
Hide file tree
Showing 3 changed files with 2,060 additions and 1,446 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main
pull_request:

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
cancel-in-progress: true
Expand All @@ -16,17 +15,15 @@ jobs:
name: Build Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.1
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'pnpm'
- if: ${{ steps.cache-node.outputs.cache-hit != 'true' }}
run: pnpm install

- run: pnpm install
- uses: changesets/action@v1
if: ${{ github.event_name !== 'pull_request' }}
if: ${{ github.event_name != 'pull_request' }}
with:
publish: pnpm changeset publish
commit: '[ci] release'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"volta": {
"node": "18.16.0"
},
"packageManager": "pnpm@7.6.0",
"packageManager": "pnpm@8.15.3",
"dependencies": {
"@changesets/cli": "^2.18.1",
"@changesets/changelog-github": "^0.4.2"
},
"devDependencies": {
"prettier": "^2.5.0"
}
}
}
Loading

0 comments on commit 01d1e9c

Please sign in to comment.