Skip to content

Commit 4bfe3b7

Browse files
committed
chore: ci
1 parent 03d64af commit 4bfe3b7

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
packages: write
2323

2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626

2727
- uses: docker/login-action@v3
2828
with:
@@ -42,11 +42,12 @@ jobs:
4242
runs-on: ubuntu-latest
4343

4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4646

4747
- uses: devcontainers/ci@v0.3
4848
with:
4949
cacheFrom: ${{ env.DEVCONTAINER_IMAGE }}
50+
push: never
5051
runCmd: bun install && bun run lint
5152

5253
changesets:
@@ -60,7 +61,7 @@ jobs:
6061
hasChangesets: ${{ steps.changesets.outputs.hasChangesets }}
6162

6263
steps:
63-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@v6
6465

6566
- uses: extractions/setup-just@v3
6667

@@ -84,11 +85,12 @@ jobs:
8485
runs-on: ubuntu-latest
8586

8687
steps:
87-
- uses: actions/checkout@v4
88+
- uses: actions/checkout@v6
8889

8990
- uses: devcontainers/ci@v0.3
9091
with:
9192
cacheFrom: ${{ env.DEVCONTAINER_IMAGE }}
93+
push: never
9294
runCmd: bun install && just build
9395

9496
- uses: actions/upload-artifact@v4
@@ -108,18 +110,19 @@ jobs:
108110
environment: ci-timetable-generator-v1-dotnet
109111

110112
steps:
111-
- uses: actions/checkout@v4
113+
- uses: actions/checkout@v6
112114

113-
- uses: actions/download-artifact@v4
115+
- uses: actions/download-artifact@v7
114116
with:
115117
name: timetable-generator-v1-dotnet
116118
path: apis/timetable-generator-v1/integrations/dotnet
117119

118120
- uses: devcontainers/ci@v0.3
119-
env:
120-
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
121121
with:
122122
cacheFrom: ${{ env.DEVCONTAINER_IMAGE }}
123+
push: never
124+
env: |
125+
NUGET_API_KEY=${{ secrets.NUGET_API_KEY }}
123126
runCmd: |
124127
cd apis/timetable-generator-v1/integrations/dotnet/Ladesa.Messages.TimetableGenerator.V1
125128
dotnet restore
@@ -134,18 +137,19 @@ jobs:
134137
environment: ci-timetable-generator-v1-npm
135138

136139
steps:
137-
- uses: actions/checkout@v4
140+
- uses: actions/checkout@v6
138141

139-
- uses: actions/download-artifact@v4
142+
- uses: actions/download-artifact@v7
140143
with:
141144
name: timetable-generator-v1-typescript
142145
path: apis/timetable-generator-v1/integrations/typescript
143146

144-
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > apis/timetable-generator-v1/integrations/typescript/.npmrc
145-
146-
- uses: devcontainers/ci@v0.3
147+
- uses: actions/setup-node@v6
147148
with:
148-
cacheFrom: ${{ env.DEVCONTAINER_IMAGE }}
149-
runCmd: |
150-
cd apis/timetable-generator-v1/integrations/typescript
151-
npm publish
149+
node-version: "24"
150+
registry-url: "https://registry.npmjs.org"
151+
152+
- run: npm publish
153+
working-directory: apis/timetable-generator-v1/integrations/typescript
154+
env:
155+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)