File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888 git config --global core.autocrlf false
8989 git config --global core.eol lf
9090 - name : Checkout repository
91- uses : actions/checkout@v4
91+ uses : actions/checkout@v6
9292 - name : Check if Node.js project and has package.json
9393 id : packagejson
9494 run : test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT
@@ -101,7 +101,7 @@ jobs:
101101 node-version : ${{ vars.NODE_VERSION }}
102102 - if : steps.packagejson.outputs.exists == 'true'
103103 name : Setup Node.js
104- uses : actions/setup-node@v4
104+ uses : actions/setup-node@v6
105105 with :
106106 node-version : " ${{ steps.lockversion.outputs.version }}"
107107 registry-url : " https://registry.npmjs.org"
@@ -124,7 +124,9 @@ jobs:
124124 version : npm run bump:version
125125 commit : " chore(release): release and bump versions of packages"
126126 title : " chore(release): release and bump versions of packages"
127- publish : npx -p @changesets/cli@2.27.7 changeset publish
127+ # Set NODE_AUTH_TOKEN to empty to use trusted publishing with
128+ # See: https://github.com/actions/setup-node/issues/1440
129+ publish : NODE_AUTH_TOKEN="" npx -p @changesets/cli@2.27.7 changeset publish
128130 setupGitUser : false
129131 env :
130132 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments