File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Prerelease Workflows
2+ on :
3+ push :
4+ branches :
5+ - workflows
6+
7+ jobs :
8+ release :
9+ if : ${{ github.repository_owner == 'cloudflare' }}
10+ name : Release
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout Repo
15+ uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
18+
19+ - name : Install Dependencies
20+ uses : ./.github/actions/install-dependencies
21+
22+ - name : Build
23+ run : pnpm run build
24+
25+ - name : Check for errors
26+ run : pnpm run check
27+ env :
28+ NODE_OPTIONS : " --max_old_space_size=8192"
29+
30+ - name : Modify package.json version
31+ run : node .github/version-script.js
32+
33+ - name : Publish to NPM
34+ run : pnpm publish --tag workflows
35+ env :
36+ NODE_ENV : " production"
37+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
38+ working-directory : packages/wrangler
You can’t perform that action at this time.
0 commit comments