File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Canary Release
2+
3+ on :
4+ push :
5+ branches : [v10]
6+ workflow_dispatch :
7+
8+ permissions :
9+ id-token : write # Required for npm OIDC
10+ contents : read
11+
12+ jobs :
13+ canary :
14+ name : Publish canary
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout repo
18+ uses : actions/checkout@v4
19+
20+ - name : Install pnpm
21+ uses : pnpm/action-setup@v4
22+ with :
23+ run_install : false
24+
25+ - name : Use Node 22
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : 22
29+ cache : ' pnpm'
30+ registry-url : ' https://registry.npmjs.org'
31+
32+ - name : Install deps
33+ run : pnpm install
34+
35+ - name : Build
36+ run : pnpm build
37+
38+ - name : Set canary versions
39+ run : |
40+ CANARY_VERSION="10.0.0-canary.$(git rev-parse --short HEAD)"
41+ echo "Publishing canary version: $CANARY_VERSION"
42+ cd packages/fiber && npm version $CANARY_VERSION --no-git-tag-version
43+ cd ../eslint-plugin && npm version $CANARY_VERSION --no-git-tag-version
44+ cd ../test-renderer && npm version $CANARY_VERSION --no-git-tag-version
45+
46+ - name : Publish to npm
47+ run : |
48+ pnpm --filter @react-three/fiber publish --tag canary --no-git-checks --provenance
49+ pnpm --filter @react-three/eslint-plugin publish --tag canary --no-git-checks --provenance
50+ pnpm --filter @react-three/test-renderer publish --tag canary --no-git-checks --provenance
You can’t perform that action at this time.
0 commit comments