Skip to content

Commit ed980d4

Browse files
committed
sbt ciGenerateGithubWorkflow
1 parent 06a24d9 commit ed980d4

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ env:
1313
pull_request:
1414
branches-ignore:
1515
- gh-pages
16+
permissions:
17+
id-token: write
18+
contents: read
1619
concurrency:
1720
group: ${{ github.workflow }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.run_id || github.ref }}
1821
cancel-in-progress: true
@@ -23,7 +26,7 @@ jobs:
2326
continue-on-error: true
2427
steps:
2528
- name: Git Checkout
26-
uses: actions/checkout@v5
29+
uses: actions/checkout@v6
2730
with:
2831
fetch-depth: '0'
2932
- name: Install libuv
@@ -50,7 +53,7 @@ jobs:
5053
continue-on-error: false
5154
steps:
5255
- name: Git Checkout
53-
uses: actions/checkout@v5
56+
uses: actions/checkout@v6
5457
with:
5558
fetch-depth: '0'
5659
- name: Install libuv
@@ -94,7 +97,7 @@ jobs:
9497
- name: Cache Dependencies
9598
uses: coursier/cache-action@v7
9699
- name: Git Checkout
97-
uses: actions/checkout@v5
100+
uses: actions/checkout@v6
98101
with:
99102
fetch-depth: '0'
100103
- name: Test
@@ -106,7 +109,7 @@ jobs:
106109
if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
107110
steps:
108111
- name: Git Checkout
109-
uses: actions/checkout@v5
112+
uses: actions/checkout@v6
110113
with:
111114
fetch-depth: '0'
112115
- name: Install libuv
@@ -182,7 +185,7 @@ jobs:
182185
if: ${{ github.event_name != 'pull_request' }}
183186
steps:
184187
- name: Git Checkout
185-
uses: actions/checkout@v5
188+
uses: actions/checkout@v6
186189
with:
187190
fetch-depth: '0'
188191
- name: Install libuv
@@ -213,7 +216,7 @@ jobs:
213216
if: ${{ ((github.event_name == 'release') && (github.event.action == 'published')) || (github.event_name == 'workflow_dispatch') }}
214217
steps:
215218
- name: Git Checkout
216-
uses: actions/checkout@v5
219+
uses: actions/checkout@v6
217220
with:
218221
fetch-depth: '0'
219222
- name: Install libuv
@@ -231,12 +234,10 @@ jobs:
231234
- name: Setup NodeJs
232235
uses: actions/setup-node@v6
233236
with:
234-
node-version: 16.x
237+
node-version: 24.12.0
235238
registry-url: https://registry.npmjs.org
236239
- name: Publish Docs to NPM Registry
237240
run: sbt docs/publishToNpm
238-
env:
239-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
240241
notify-docs-release:
241242
name: Notify Docs Release
242243
runs-on: ubuntu-latest
@@ -246,7 +247,7 @@ jobs:
246247
if: ${{ (github.event_name == 'release') && (github.event.action == 'published') }}
247248
steps:
248249
- name: Git Checkout
249-
uses: actions/checkout@v5
250+
uses: actions/checkout@v6
250251
with:
251252
fetch-depth: '0'
252253
- name: notify the main repo about the new release of docs package

0 commit comments

Comments
 (0)