Skip to content

Commit eca567c

Browse files
authored
Merge pull request #389 from code0-tech/388-setup-trusted-publishing
Update node to 24.8 and setup trusted publishing
2 parents bf03d10 + 1a699a2 commit eca567c

File tree

5 files changed

+68
-74
lines changed

5 files changed

+68
-74
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Publish Package to npmjs
2+
permissions:
3+
id-token: write
24
on:
35
push:
46
tags:
@@ -10,11 +12,9 @@ jobs:
1012
- uses: actions/checkout@v4
1113
- uses: actions/setup-node@v4
1214
with:
13-
node-version: '22.x'
15+
node-version: '24.x'
1416
registry-url: 'https://registry.npmjs.org'
1517
- run: npm version from-git --git-tag-version=false
1618
- run: npm ci
1719
- run: npm run build
1820
- run: npm publish
19-
env:
20-
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

.gitlab-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
build:
2-
image: node:22.16.0
2+
image: node:24.8.0
33
stage: build
44
script:
55
- npm ci
@@ -8,7 +8,7 @@ build:
88
- if: $C0_UPDATE_SNAPSHOTS == null
99

1010
storybook:build:
11-
image: node:22.16.0
11+
image: node:24.8.0
1212
stage: build
1313
script:
1414
- npm ci
@@ -29,7 +29,7 @@ storybook:build:
2929
- if: $C0_UPDATE_SNAPSHOTS == null
3030

3131
test:
32-
image: node:22.16.0
32+
image: node:24.8.0
3333
stage: test
3434
script:
3535
- npm ci
@@ -38,7 +38,7 @@ test:
3838
- if: $C0_UPDATE_SNAPSHOTS == null
3939

4040
.storybook:test:base:
41-
image: ghcr.io/code0-tech/build-images/node-playwright:162.1-node-22.16
41+
image: ghcr.io/code0-tech/build-images/node-playwright:196.1-node-24.8
4242
stage: test
4343
before_script:
4444
- source ~/.asdf/asdf.sh

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 22.16.0
1+
nodejs 24.8.0

0 commit comments

Comments
 (0)