File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 88 build :
99 if : github.repository == 'jaywcjlove/refs-cli'
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ id-token : write
1114 steps :
1215 - uses : actions/checkout@v3
1316 - uses : actions/setup-node@v3
1417 with :
15- node-version : 16
18+ node-version : 18
1619 registry-url : ' https://registry.npmjs.org'
1720
1821 - run : npm install
@@ -60,12 +63,15 @@ jobs:
6063 name : ${{ steps.create_tag.outputs.version }}
6164 tag : ${{ steps.create_tag.outputs.version }}
6265 body : |
63- Documentation ${{ needs.build.outputs.create_tag_version }}: https://raw.githack.com/jaywcjlove/refs-cli/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
66+ [](https://jaywcjlove.github.io/#/sponsor)
67+
68+ Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/refs-cli/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
6469 Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
6570
6671 ${{ steps.changelog.outputs.changelog }}
6772
68- - run : npm publish
73+ - run : npm publish --access public --provenance
74+ name : 📦 refs-cli publish to NPM
6975 continue-on-error : true
7076 env :
7177 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 22===
33
44<!-- rehype:ignore:start-->
5+ [ ![ Buy me a coffee] ( https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee )] ( https://jaywcjlove.github.io/#/sponsor )
56[ ![ CI] ( https://github.com/jaywcjlove/refs-cli/actions/workflows/ci.yml/badge.svg )] ( https://github.com/jaywcjlove/refs-cli/actions/workflows/ci.yml )
67[ ![ NPM version] ( https://img.shields.io/npm/v/refs-cli.svg?style=flat )] ( https://npmjs.org/package/refs-cli )
78[ ![ Repo Dependents] ( https://badgen.net/github/dependents-repo/jaywcjlove/refs-cli )] ( https://github.com/jaywcjlove/refs-cli/network/dependents )
You can’t perform that action at this time.
0 commit comments