File tree Expand file tree Collapse file tree 15 files changed +86
-17
lines changed
Expand file tree Collapse file tree 15 files changed +86
-17
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ jobs:
269269 runs-on : ubuntu-latest
270270 timeout-minutes : 15
271271 name : Build and release
272+ permissions :
273+ contents : read
274+ id-token : write
272275 needs :
273276 - build
274277 - build-linux
@@ -343,7 +346,7 @@ jobs:
343346 echo "Publishing $pkg..."
344347 cd $pkg
345348 npm version ${{ env.NPM_VERSION }} --force --no-git-tag-version
346- npm publish --tag ${{ env.RELEASE_CHANNEL }} --access public
349+ npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }} --access public
347350 cd -
348351 done
349352
@@ -352,7 +355,7 @@ jobs:
352355 npm version ${{ env.NPM_VERSION }} --force --no-git-tag-version
353356 sed "s#\"0.0.0\"#\"${{ env.NPM_VERSION }}\"#g" package.json > package_updated.json
354357 mv package_updated.json package.json
355- npm publish --tag ${{ env.RELEASE_CHANNEL }} --access public
358+ npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }} --access public
356359 cd -
357360 env :
358361 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
@@ -361,6 +364,9 @@ jobs:
361364 runs-on : ubuntu-latest
362365 timeout-minutes : 15
363366 name : Build and release Tailwind CSS
367+ permissions :
368+ contents : read
369+ id-token : write
364370
365371 needs :
366372 - release
@@ -401,7 +407,7 @@ jobs:
401407 run : npm version 0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }} --force --no-git-tag-version
402408
403409 - name : Publish
404- run : npm publish --tag ${{ env.RELEASE_CHANNEL }}
410+ run : npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }}
405411 env :
406412 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
407413
Original file line number Diff line number Diff line change 66
77permissions :
88 contents : read
9+ id-token : write
910
1011env :
1112 CI : true
5859 run : npm version 0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }} --force --no-git-tag-version
5960
6061 - name : Publish
61- run : npm publish --tag ${{ env.RELEASE_CHANNEL }}
62+ run : npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }}
6263 env :
6364 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6465
Original file line number Diff line number Diff line change @@ -218,6 +218,9 @@ jobs:
218218 runs-on : ubuntu-latest
219219 timeout-minutes : 15
220220 name : Build and release
221+ permissions :
222+ contents : read
223+ id-token : write
221224 needs :
222225 - oxide-build
223226 - oxide-build-linux
@@ -273,7 +276,7 @@ jobs:
273276 echo "Publishing $pkg..."
274277 cd $pkg
275278 npm version ${{ env.NPM_VERSION }} --force --no-git-tag-version
276- npm publish --tag insiders --access public
279+ npm publish --provenance -- tag insiders --access public
277280 cd -
278281 done
279282
@@ -282,7 +285,7 @@ jobs:
282285 npm version ${{ env.NPM_VERSION }} --force --no-git-tag-version
283286 sed "s#\"0.0.0\"#\"${{ env.NPM_VERSION }}\"#g" package.json > package_updated.json
284287 mv package_updated.json package.json
285- npm publish --tag insiders --access public
288+ npm publish --provenance -- tag insiders --access public
286289 cd -
287290 env :
288291 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
@@ -291,6 +294,9 @@ jobs:
291294 runs-on : ubuntu-latest
292295 timeout-minutes : 15
293296 name : Build and release Tailwind CSS
297+ permissions :
298+ contents : read
299+ id-token : write
294300
295301 needs :
296302 - oxide-release
@@ -332,6 +338,6 @@ jobs:
332338 run : npm version 0.0.0-oxide.${{ env.SHA_SHORT }} --force --no-git-tag-version
333339
334340 - name : Publish
335- run : npm publish --tag oxide
341+ run : npm publish --provenance -- tag oxide
336342 env :
337343 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 66
77permissions :
88 contents : read
9+ id-token : write
910
1011env :
1112 CI : true
4748 echo "TAILWINDCSS_VERSION=$(node -e 'console.log(require(`./package.json`).version);')" >> $GITHUB_ENV
4849
4950 - name : Publish
50- run : npm publish --tag ${{ env.RELEASE_CHANNEL }}
51+ run : npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }}
5152 env :
5253 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
5354
Original file line number Diff line number Diff line change 11{
22 "name" : " @tailwindcss/oxide-darwin-arm64" ,
33 "version" : " 0.0.0" ,
4+ "repository" : {
5+ "type" : " git" ,
6+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7+ "directory" : " oxide/crates/node/npm/darwin-arm64"
8+ },
49 "os" : [
510 " darwin"
611 ],
1520 "engines" : {
1621 "node" : " >= 10"
1722 }
18- }
23+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " @tailwindcss/oxide-darwin-x64" ,
33 "version" : " 0.0.0" ,
4+ "repository" : {
5+ "type" : " git" ,
6+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7+ "directory" : " oxide/crates/node/npm/darwin-x64"
8+ },
49 "os" : [
510 " darwin"
611 ],
1520 "engines" : {
1621 "node" : " >= 10"
1722 }
18- }
23+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " @tailwindcss/oxide-freebsd-x64" ,
33 "version" : " 0.0.0" ,
4+ "repository" : {
5+ "type" : " git" ,
6+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7+ "directory" : " oxide/crates/node/npm/freebsd-x64"
8+ },
49 "os" : [
510 " freebsd"
611 ],
1520 "engines" : {
1621 "node" : " >= 10"
1722 }
18- }
23+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " @tailwindcss/oxide-linux-arm-gnueabihf" ,
33 "version" : " 0.0.0" ,
4+ "repository" : {
5+ "type" : " git" ,
6+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7+ "directory" : " oxide/crates/node/npm/linux-arm-gnueabihf"
8+ },
49 "os" : [
510 " linux"
611 ],
1520 "engines" : {
1621 "node" : " >= 10"
1722 }
18- }
23+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " @tailwindcss/oxide-linux-arm64-gnu" ,
33 "version" : " 0.0.0" ,
4+ "repository" : {
5+ "type" : " git" ,
6+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7+ "directory" : " oxide/crates/node/npm/linux-arm64-gnu"
8+ },
49 "os" : [
510 " linux"
611 ],
1823 "libc" : [
1924 " glibc"
2025 ]
21- }
26+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " @tailwindcss/oxide-linux-arm64-musl" ,
33 "version" : " 0.0.0" ,
4+ "repository" : {
5+ "type" : " git" ,
6+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7+ "directory" : " oxide/crates/node/npm/linux-arm64-musl"
8+ },
49 "os" : [
510 " linux"
611 ],
1823 "libc" : [
1924 " musl"
2025 ]
21- }
26+ }
You can’t perform that action at this time.
0 commit comments