also looking at this
feat: new release script using pantry
#2
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.
| @@ -50,7 +50,7 @@ jobs: | ||
| 50 | 50 | ext: '.exe' |
| 51 | 51 | |
| 52 | 52 | steps: |
| 53 | - uses: actions/checkout@v5 | |
| 53 | - uses: actions/checkout@v4 | |
| 54 | 54 | with: |
| 55 | 55 | fetch-depth: 0 |
| 56 | 56 | |
| @@ -113,17 +113,20 @@ jobs: | ||
| 113 | 113 | needs: [build-home-binaries] |
| 114 | 114 | |
| 115 | 115 | steps: |
| 116 | - uses: actions/checkout@v5 | |
| 116 | - uses: actions/checkout@v4 | |
| 117 | 117 | with: |
| 118 | 118 | fetch-depth: 0 |
| 119 | 119 | |
| 120 | - name: Install Bun | |
| 120 | - name: Setup Bun | |
| 121 | 121 | uses: oven-sh/setup-bun@v2 |
| 122 | # env: | |
| 123 | # BUN_AUTH_TOKEN: $ | |
| 124 | 122 | with: |
| 125 | 123 | bun-version: latest |
| 126 | 124 | |
| 125 | - name: Setup pantry | |
| 126 | uses: stacksjs/pantry@v0.7 | |
| 127 | with: | |
| 128 | setup-only: 'true' | |
| 129 | ||
| 127 | 130 | - name: Use cached node_modules |
| 128 | 131 | uses: actions/cache@v4 |
| 129 | 132 | with: |
| @@ -136,7 +139,7 @@ jobs: | ||
| 136 | 139 | run: bun install |
| 137 | 140 | |
| 138 | 141 | - name: Publish to npm |
| 139 | run: ./scripts/publish.sh | |
| 142 | run: pantry publish --access public | |
| 140 | 143 | env: |
| 141 | 144 | BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 142 | 145 | |