File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 npm publish --access public
1616
1717 # runs-on: ubuntu-latest
18- # permissions:
19- # contents: read
20- # id-token: write
2118 # steps:
2219 # - name: Checkout
2320 # uses: actions/checkout@v4
2724 # registry-url: "https://registry.npmjs.org"
2825 # cache: npm
2926 # - run: npm ci
30- # - run: cat /home/runner/work/_temp/.npmrc
3127 # - name: Publish
32- # run: |
33- # # Change publish registry
34- # echo "$(jq '.publishConfig.registry = "https://registry.npmjs.org"' package.json)" > package.json
35- # # Publish package
36- # npm publish --provenance --access public
28+ # run: npm publish --provenance --access public
3729 # env:
3830 # NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 1111
1212 cd :
1313 needs : ci
14- uses : evanplaice/jquery-csv/.github/workflows/npm.yml@main
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+ - name : Setup
19+ uses : actions/setup-node@v4
20+ with :
21+ registry-url : " https://registry.npmjs.org"
22+ cache : npm
23+ - run : npm ci
24+ - name : Publish
25+ run : npm publish --provenance --access public
26+ env :
27+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
28+ # uses: evanplaice/jquery-csv/.github/workflows/npm.yml@main
1529
You can’t perform that action at this time.
0 commit comments