File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 - " minor"
1414 - " major"
1515
16+ permissions :
17+ id-token : write
18+ contents : write
19+
1620jobs :
1721 publish :
1822 runs-on : ubuntu-latest
4347 run : echo "VERSION=$(jq -r '.version' packages/completions/package.json)" >> $GITHUB_OUTPUT
4448
4549 - name : Publish to npm
46- env :
47- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4850 run : |
4951 cd packages/completions
50- npm publish
52+ npm publish --provenance
5153
5254 - name : Commit and Push
5355 run : |
Original file line number Diff line number Diff line change 1313 - " minor"
1414 - " major"
1515
16+ permissions :
17+ id-token : write
18+ contents : write
19+
1620jobs :
1721 publish :
1822 runs-on : ubuntu-latest
4347 run : echo "VERSION=$(jq -r '.version' packages/format/package.json)" >> $GITHUB_OUTPUT
4448
4549 - name : Publish to npm
46- env :
47- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4850 run : |
4951 cd packages/format
50- npm publish
52+ npm publish --provenance
5153
5254 - name : Commit and Push
5355 run : |
Original file line number Diff line number Diff line change 2323 type : string
2424 default : " main"
2525
26+ permissions :
27+ id-token : write
28+ contents : write
29+
2630jobs :
2731 publish :
2832 runs-on : ubuntu-latest
6367 run : echo "VERSION=$(jq -r '.version' packages/latex-pretext/package.json)" >> $GITHUB_OUTPUT
6468
6569 - name : Publish to npm
66- env :
67- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6870 run : |
6971 cd packages/latex-pretext
70- npm publish
72+ npm publish --provenance
7173
7274 - name : Commit and Push
7375 run : |
Original file line number Diff line number Diff line change 1313 - " minor"
1414 - " major"
1515
16+ permissions :
17+ id-token : write
18+ contents : write
19+
1620jobs :
1721 publish :
1822 runs-on : ubuntu-latest
4347 run : echo "VERSION=$(jq -r '.version' packages/visual-editor/package.json)" >> $GITHUB_OUTPUT
4448
4549 - name : Publish to npm
46- env :
47- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4850 run : |
4951 cd packages/visual-editor
50- npm publish
52+ npm publish --provenance
5153
5254 - name : Commit and Push
5355 run : |
You can’t perform that action at this time.
0 commit comments