Skip to content

Commit a2c7f6a

Browse files
committed
ci: update ci
Signed-off-by: Timo Glastra <timo@animo.id>
1 parent 33da441 commit a2c7f6a

File tree

2 files changed

+11
-25
lines changed

2 files changed

+11
-25
lines changed

.github/workflows/continuous-integration.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Continuous Integration
33
on:
44
pull_request:
55
branches: [main]
6+
push:
7+
branches: [main]
68

79
jobs:
810
validate:
@@ -22,22 +24,13 @@ jobs:
2224
node-version: ${{ matrix.node-version }}
2325
cache: "pnpm"
2426

25-
- name: Setup Biome CLI
26-
uses: biomejs/setup-biome@v2
27-
with:
28-
version: latest
29-
30-
- name: Run Biome
31-
run: biome ci .
32-
3327
- name: Install dependencies
3428
run: pnpm install
3529

36-
- name: Generate output files
37-
env:
38-
SERVER: https://api.paradym.id/openapi-docs.json
39-
40-
run: pnpm generate
30+
- name: Run Biome
31+
run: pnpm style
4132

4233
- name: Build packages
4334
run: pnpm build
35+
env:
36+
SERVER: https://api.paradym.id/openapi.json

.github/workflows/release.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,17 @@ jobs:
3131
node-version: ${{ matrix.node-version }}
3232
cache: "pnpm"
3333

34-
- name: Setup Biome CLI
35-
uses: biomejs/setup-biome@v2
36-
with:
37-
version: latest
38-
39-
- name: Run Biome
40-
run: biome ci .
41-
4234
- name: Install dependencies
4335
run: pnpm install
4436

45-
- name: Generate output files
46-
env:
47-
SERVER: https://api.paradym.id/openapi.json
48-
run: pnpm generate
37+
- name: Run Biome
38+
run: pnpm style
4939

5040
- name: Build packages
5141
run: pnpm build
42+
env:
43+
SERVER: https://api.paradym.id/openapi.json
44+
5245
release:
5346
runs-on: ubuntu-latest
5447
name: Release

0 commit comments

Comments
 (0)