File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ci-backend
2-
3- on :
2+ ' on ' :
43 push :
54 branches : ["main", "master"]
65 pull_request :
7-
86jobs :
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 ./...
Original file line number Diff line number Diff line change 11name : ci-frontend
2-
3- on :
2+ ' on ' :
43 push :
54 branches : ["main", "master"]
65 pull_request :
7-
86jobs :
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
You can’t perform that action at this time.
0 commit comments