File tree Expand file tree Collapse file tree 3 files changed +16
-35
lines changed Expand file tree Collapse file tree 3 files changed +16
-35
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @theguild/federation-composition ' : minor
3+ ---
4+
5+ Release v0.1.0
Original file line number Diff line number Diff line change 44 branches :
55 - main
66jobs :
7- test :
8- runs-on : ubuntu-latest
9- steps :
10- - name : checkout
11- uses : actions/checkout@v4
12- with :
13- fetch-depth : 2
14- token : ${{ secrets.GUILD_BOT_TOKEN }}
15-
16- - name : setup pnpm
17- uses : pnpm/action-setup@v2
18-
19- - name : setup node
20- uses : actions/setup-node@v3
21- with :
22- node-version : 20
23- cache : ' pnpm'
24-
25- - name : install dependencies
26- run : pnpm install --frozen-lockfile
27-
28- - name : prepare npm credentials
29- run : |
30- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> $HOME/.npmrc
31-
32- - name : publish stable
33- id : changesets
34- uses :
changesets/[email protected] 35- with :
36- publish : pnpm build && changeset publish
37- commit : ' chore(release): update package version'
38- title : ' Upcoming Release Changes'
39- env :
40- GITHUB_TOKEN : ${{ secrets.GUILD_BOT_TOKEN }}
7+ stable :
8+ uses : the-guild-org/shared-config/.github/workflows/release-stable.yml@main
9+ with :
10+ releaseScript : release
11+ nodeVersion : 20
12+ packageManager : ' pnpm'
13+ secrets :
14+ githubToken : ${{ secrets.GUILD_BOT_TOKEN }}
15+ npmToken : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 4444 ],
4545 "scripts" : {
4646 "bench" : " tsx ./benchmark.ts" ,
47- "build" : " rimraf dist && bob check && bob build && rimraf dist/README.md " ,
47+ "build" : " rimraf dist && bob check && bob build" ,
4848 "format" : " prettier --write ." ,
49+ "release" : " pnpm build && changeset publish" ,
4950 "test" : " vitest --config ./vitest.config.js" ,
5051 "typecheck" : " tsc --noEmit --project tsconfig.build.json"
5152 },
You can’t perform that action at this time.
0 commit comments