@@ -17,10 +17,10 @@ jobs:
1717 lint :
1818 runs-on : ubuntu-latest
1919 steps :
20- - uses : actions/checkout@v4
20+ - uses : actions/checkout@v6
2121
2222 - name : Use Node.js
23- uses : actions/setup-node@v4
23+ uses : actions/setup-node@v6
2424 with :
2525 node-version-file : ' .nvmrc'
2626
@@ -57,12 +57,12 @@ jobs:
5757 PGPASSWORD : postgres
5858 PGDATABASE : postgres
5959 steps :
60- - uses : actions/checkout@v4
60+ - uses : actions/checkout@v6
6161 with :
6262 fetch-depth : 0
6363
6464 - name : Use Node.js
65- uses : actions/setup-node@v4
65+ uses : actions/setup-node@v6
6666 with :
6767 node-version-file : ' .nvmrc'
6868
9494 run : npm run test -- --coverage
9595
9696 - name : Upload coverage to Codecov
97- uses : codecov/codecov-action@v3
97+ uses : codecov/codecov-action@v5
9898
9999 - name : Print integration environment logs
100100 run : cat docker-compose-logs.txt
@@ -107,6 +107,7 @@ jobs:
107107 build-publish :
108108 permissions :
109109 contents : write
110+ id-token : write
110111 issues : write
111112 pull-requests : write
112113 runs-on : ubuntu-latest
@@ -116,26 +117,26 @@ jobs:
116117 steps :
117118 - name : Generate release bot app token
118119 id : generate_token
119- uses : actions/create-github-app-token@v1
120+ uses : actions/create-github-app-token@v2
120121 with :
121122 app-id : ${{ secrets.HIROSYSTEMS_RELEASE_BOT_ID }}
122123 private-key : ${{ secrets.HIROSYSTEMS_RELEASE_BOT_PEM }}
123124
124- - uses : actions/checkout@v4
125+ - uses : actions/checkout@v6
125126 with :
126- token : ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
127127 fetch-depth : 0
128- persist-credentials : false
128+
129129 - name : Get bot user ID
130130 id : bot-user-id
131131 run : |
132132 echo "user-id=$(gh api "/users/${{ steps.generate_token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
133133 env :
134134 GH_TOKEN : ${{ steps.generate_token.outputs.token }}
135135
136- - uses : actions/setup-node@v4
136+ - uses : actions/setup-node@v6
137137 with :
138138 node-version-file : ' .nvmrc'
139+ registry-url : ' https://registry.npmjs.org'
139140
140141 - name : Install deps
141142 run : npm ci --audit=false
@@ -144,18 +145,16 @@ jobs:
144145 run : npm run build
145146
146147 - name : Semantic Release
147- uses : cycjimmy/semantic-release-action@v4
148+ uses : cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6
148149 # Only run on non-PR events or only PRs that aren't from forks
149150 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
150151 env :
151152 GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
152- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
153153 SEMANTIC_RELEASE_PACKAGE : ${{ github.event.repository.name }}
154154 GIT_AUTHOR_EMAIL : " ${{ steps.bot-user-id.outputs.user-id }}+${{ steps.generate_token.outputs.app-slug }}[bot]@users.noreply.github.com"
155155 GIT_COMMITTER_EMAIL : " ${{ steps.bot-user-id.outputs.user-id }}+${{ steps.generate_token.outputs.app-slug }}[bot]@users.noreply.github.com"
156156 with :
157- semantic_version : 19
158157 extra_plugins : |
159158 @semantic-release/[email protected] 160159 @semantic-release/[email protected] 161- conventional-changelog-conventionalcommits@6 .1.0
160+ conventional-changelog-conventionalcommits@9 .1.0
0 commit comments