File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,19 +15,44 @@ concurrency:
1515jobs :
1616 release-snapshot :
1717 if : github.event_name == 'pull_request'
18- uses : the-guild-org/shared-config/.github/workflows/release-snapshot.yml@1c4632ccc198d4c9b34d9e6b3d556c6f245b4e69 # main
18+ runs-on : ubuntu-24.04
1919 permissions :
2020 id-token : write # allows OIDC publishing
2121 pull-requests : write # allows creating comment with alpha versions
22- with :
23- npmTag : alpha
24- packageManager : pnpm
25- packageManagerVersion : 11.1.1
26- buildScript : build
27- nodeVersion : 24
28- secrets :
29- githubToken : ${{ secrets.GITHUB_TOKEN }}
30- npmToken : FILLER
22+ steps :
23+ - name : Checkout
24+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
25+ - name : Install pnpm
26+ uses : pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
27+ with :
28+ standalone : true
29+ cache : true
30+ - name : Install Node
31+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
32+ with :
33+ node-version : 24
34+ - name : Install packages
35+ run : pnpm i
36+
37+ - name : Deploy snapshot
38+ run : |
39+ pnpm changeset version --snapshot alpha
40+ pnpm build
41+ pnpm changeset publish --provenance --tag alpha --no-git-tag
42+ env :
43+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44+ # uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@1c4632ccc198d4c9b34d9e6b3d556c6f245b4e69 # main
45+ # permissions:
46+ # id-token: write # allows OIDC publishing
47+ # pull-requests: write # allows creating comment with alpha versions
48+ # with:
49+ # npmTag: alpha
50+ # packageManager: pnpm
51+ # buildScript: build
52+ # nodeVersion: 24
53+ # secrets:
54+ # githubToken: ${{ secrets.GITHUB_TOKEN }}
55+ # npmToken: FILLER
3156
3257 release-stable :
3358 if : github.event_name == 'push'
Original file line number Diff line number Diff line change 22 "name" : " graphql-code-generator" ,
33 "version" : " 0.0.0" ,
44 "private" : true ,
5- "packageManager" : " pnpm@11.1.1+sha512.d1fdf5f73c617b64fa1a56a81c3c8dfe0e966e33a6010aa256b517ae77be21d93e05affc0de1a83b0e4f29d569f68b446ae8f068cd7247c0bb3df0fb4d7bdf9a " ,
5+ "packageManager" : " pnpm@10.33.4 " ,
66 "engines" : {
77 "node" : " >= 16.0.0"
88 },
You can’t perform that action at this time.
0 commit comments