File tree Expand file tree Collapse file tree 2 files changed +24
-12
lines changed Expand file tree Collapse file tree 2 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 7272 env :
7373 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7474
75- - name : Publish Prerelease
76- if : steps.changesets.outputs.published != 'true'
77- continue-on-error : true
78- env :
79- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
80- run : |
81- git reset --hard origin/main
82- pnpm clean
83- pnpm changeset version --no-git-tag --snapshot canary
84- pnpm changeset:prepublish
85- pnpm changeset publish --no-git-tag --snapshot canary --tag canary
86-
8775 jsr :
8876 name : JSR
8977 needs : verify
Original file line number Diff line number Diff line change 1+ name : Prepublish
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ permissions :
9+ contents : read
10+
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
14+ with :
15+ submodules : ' recursive'
16+
17+ - name : Install dependencies
18+ uses : ./.github/actions/install-dependencies
19+
20+ - name : Prepublish
21+ run : |
22+ cd src && pnpm version prerelease --preid $(git rev-parse --short=7 HEAD) && cd ..
23+ pnpm changeset:prepublish
24+ pnpx pkg-pr-new publish --pnpm --compact './src'
You can’t perform that action at this time.
0 commit comments