File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed
Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 44 release :
55 types : [published]
66
7+ permissions :
8+ contents : read
9+ id-token : write
10+
711jobs :
812 publish :
913 runs-on : ubuntu-latest
1014 name : Build and publish MathJax
11- permissions :
12- contents : read
13- id-token : write
1415 steps :
1516 - name : Checkout
1617 uses : actions/checkout@v4
2021 with :
2122 version : 10
2223 run_install : false
24+
25+ - uses : actions/setup-node@v4
26+ with :
27+ node-version : ' 24'
2328 registry-url : ' https://registry.npmjs.org'
2429
2530 - name : Install packages
@@ -31,13 +36,10 @@ jobs:
3136 pnpm -s link:src
3237 pnpm -s build-all
3338
34- # - name: Temp fix to publish
35- # run: |
36- # echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
37- # echo "always-auth=true" >> ~/.npmrc
38-
3939 - name : Publish to npmjs
40- run : pnpm publish --access public --no-git-checks
41- env :
42- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
40+ run : npm publish --provenance
41+
42+ # run: pnpm publish --access public --no-git-checks
43+ # env:
44+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4345
Original file line number Diff line number Diff line change 2020 },
2121 "repository" : {
2222 "type" : " git" ,
23- "url" : " https://github.com/mathjax/Mathjax-src/ "
23+ "url" : " git+ https://github.com/mathjax/Mathjax-src.git "
2424 },
2525 "type" : " module" ,
2626 "main" : " components/mjs/node-main/node-main.js" ,
You can’t perform that action at this time.
0 commit comments