Skip to content

Commit 969bd40

Browse files
committed
ci: fix workflow yaml parsing issues
1 parent ff46541 commit 969bd40

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/ci-backend.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
name: ci-backend
2-
3-
on:
2+
'on':
43
push:
54
branches: ["main", "master"]
65
pull_request:
7-
86
jobs:
97
test:
108
runs-on: ubuntu-latest
119
steps:
1210
- name: Checkout
1311
uses: actions/checkout@v4
14-
1512
- name: Setup Go
1613
uses: actions/setup-go@v5
1714
with:
1815
go-version-file: go.mod
1916
cache: true
20-
2117
- name: Run tests
2218
run: go test ./...

.github/workflows/ci-frontend.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: ci-frontend
2-
3-
on:
2+
'on':
43
push:
54
branches: ["main", "master"]
65
pull_request:
7-
86
jobs:
97
lint-build:
108
runs-on: ubuntu-latest
@@ -14,19 +12,15 @@ jobs:
1412
steps:
1513
- name: Checkout
1614
uses: actions/checkout@v4
17-
1815
- name: Setup Node.js
1916
uses: actions/setup-node@v4
2017
with:
2118
node-version: 20
2219
cache: npm
2320
cache-dependency-path: frontend/package-lock.json
24-
2521
- name: Install dependencies
2622
run: npm ci
27-
2823
- name: Lint
2924
run: npm run lint
30-
3125
- name: Build
3226
run: npm run build

0 commit comments

Comments
 (0)