@@ -3,6 +3,7 @@ name: Release Insiders
3
3
on :
4
4
push :
5
5
branches : [main]
6
+ pull_request :
6
7
7
8
permissions :
8
9
contents : read
@@ -121,7 +122,7 @@ jobs:
121
122
run : pnpm install --ignore-scripts --filter=!./playgrounds/*
122
123
123
124
- name : Build release
124
- run : pnpm run --filter ${{ env.OXIDE_LOCATION }} build
125
+ run : pnpm run --filter ${{ env.OXIDE_LOCATION }} build:platform
125
126
env :
126
127
RUST_TARGET : ${{ matrix.target }}
127
128
JEMALLOC_SYS_WITH_LG_PAGE : ${{ matrix.page-size }}
@@ -171,7 +172,7 @@ jobs:
171
172
echo "~~~~ pnpm --version ~~~~"
172
173
pnpm --version
173
174
pnpm install --ignore-scripts --filter=!./playgrounds/* || true
174
- pnpm run --filter ${{ env.OXIDE_LOCATION }} build
175
+ pnpm run --filter ${{ env.OXIDE_LOCATION }} build:platform
175
176
strip -x ${{ env.OXIDE_LOCATION }}/*.node
176
177
ls -la ${{ env.OXIDE_LOCATION }}
177
178
- name : Upload artifacts
@@ -213,6 +214,9 @@ jobs:
213
214
cache : ' pnpm'
214
215
registry-url : ' https://registry.npmjs.org'
215
216
217
+ - name : Setup WASM target
218
+ run : rustup target add wasm32-wasip1-threads
219
+
216
220
# Cargo already skips downloading dependencies if they already exist
217
221
- name : Cache cargo
218
222
uses : actions/cache@v4
@@ -272,19 +276,25 @@ jobs:
272
276
- name : Lock pre-release versions
273
277
run : node ./scripts/lock-pre-release-versions.mjs
274
278
275
- - name : Publish
276
- run : pnpm --recursive publish --tag ${{ env.RELEASE_CHANNEL }} --no-git-checks
277
- env :
278
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
279
-
280
- - name : Trigger Tailwind Play update
281
- uses : actions/github-script@v7
279
+ - name : Upload artifacts
280
+ uses : actions/upload-artifact@v4
282
281
with :
283
- github-token : ${{ secrets.TAILWIND_PLAY_TOKEN }}
284
- script : |
285
- await github.rest.actions.createWorkflowDispatch({
286
- owner: 'tailwindlabs',
287
- repo: 'play.tailwindcss.com',
288
- ref: 'master',
289
- workflow_id: 'upgrade-tailwindcss.yml'
290
- })
282
+ name : tarballs
283
+ path : dist/*.tgz
284
+
285
+ # - name: Publish
286
+ # run: pnpm --recursive publish --tag ${{ env.RELEASE_CHANNEL }} --no-git-checks
287
+ # env:
288
+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
289
+
290
+ # - name: Trigger Tailwind Play update
291
+ # uses: actions/github-script@v7
292
+ # with:
293
+ # github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }}
294
+ # script: |
295
+ # await github.rest.actions.createWorkflowDispatch({
296
+ # owner: 'tailwindlabs',
297
+ # repo: 'play.tailwindcss.com',
298
+ # ref: 'master',
299
+ # workflow_id: 'upgrade-tailwindcss.yml'
300
+ # })
0 commit comments