ReviewOS

also looking at this

home-lang/home

feat: new release script using pantry

#2
Closed glennmichael123 wants to merge feat/pantry-release into main
1 file +9 -6

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

.github/workflows/release.ymlmodified+9-6
Changes to .github/workflows/release.yml
@@ -50,7 +50,7 @@ jobs:
5050 ext: '.exe'
5151
5252 steps:
53 - uses: actions/checkout@v5
53 - uses: actions/checkout@v4
5454 with:
5555 fetch-depth: 0
5656
@@ -113,17 +113,20 @@ jobs:
113113 needs: [build-home-binaries]
114114
115115 steps:
116 - uses: actions/checkout@v5
116 - uses: actions/checkout@v4
117117 with:
118118 fetch-depth: 0
119119
120 - name: Install Bun
120 - name: Setup Bun
121121 uses: oven-sh/setup-bun@v2
122 # env:
123 # BUN_AUTH_TOKEN: $
124122 with:
125123 bun-version: latest
126124
125 - name: Setup pantry
126 uses: stacksjs/pantry@v0.7
127 with:
128 setup-only: 'true'
129
127130 - name: Use cached node_modules
128131 uses: actions/cache@v4
129132 with:
@@ -136,7 +139,7 @@ jobs:
136139 run: bun install
137140
138141 - name: Publish to npm
139 run: ./scripts/publish.sh
142 run: pantry publish --access public
140143 env:
141144 BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
142145