Skip to content

Commit

Permalink
fix(ci): run changeset frequently on canary branch
Browse files Browse the repository at this point in the history
  • Loading branch information
shahradelahi committed May 8, 2024
1 parent d50d405 commit f2af4b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.sha }}"
group: '${{ github.workflow }}-${{ github.event.number || github.sha }}'
cancel-in-progress: true

jobs:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Release Package

##
# Invoke:
# gh workflow run "Release Package"
##

on:
workflow_dispatch:
push:
branches:
- canary

jobs:
release:
if: github.repository == 'shahradelahi/storage-box'
name: Build & Publish Release
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"type-check": "tsc --noEmit",
"format:check": "prettier --check \"**/*.{ts,md}\"",
"format": "prettier --write .",
"ci:publish": "npm build && changeset publish",
"ci:publish": "pnpm build && changeset publish",
"prepublishOnly": "pnpm test && pnpm run format:check && pnpm run type-check && pnpm build"
},
"packageManager": "[email protected]",
Expand Down

0 comments on commit f2af4b8

Please sign in to comment.