Skip to content

Commit dc9467f

Browse files
committed
update workflows
1 parent fd51195 commit dc9467f

3 files changed

Lines changed: 17 additions & 19 deletions

File tree

.github/workflows/check.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,23 @@ name: Pull Request Checks
33
on:
44
pull_request:
55
branches:
6-
- stage
7-
- prod
8-
- develop
9-
push:
10-
branches:
11-
- stage
12-
- prod
13-
- develop
6+
- dev
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
1412
jobs:
1513
lint-and-build:
1614
runs-on: ubuntu-latest
1715
steps:
1816
- uses: actions/checkout@v4
1917
- uses: actions/setup-node@v4
2018
with:
21-
node-version: '22'
19+
node-version: "22"
20+
cache: "yarn"
2221
- run: corepack enable
2322
- run: yarn config set enableImmutableInstalls false
2423
- run: yarn install
25-
- run: yarn server:build
26-
- run: yarn server:lint
27-
- run: yarn server:test
28-
# - name: Upload coverage reports to Codecov
29-
# uses: codecov/codecov-action@v4.6.0
30-
# with:
31-
# token: ${{ secrets.CODECOV_TOKEN }}
32-
- run: yarn client:lint
24+
- run: yarn lint
25+
- run: yarn test

.github/workflows/docker-build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
- "v*"
1010
workflow_dispatch:
1111

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
1216
env:
1317
REGISTRY: ghcr.io
1418
IMAGE_NAME: ${{ github.repository }}
@@ -63,5 +67,7 @@ jobs:
6367
platforms: linux/amd64,linux/arm64
6468
push: true
6569
tags: ${{ steps.tags.outputs.tags }}
66-
cache-from: type=gha
70+
cache-from: |
71+
type=gha
72+
type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}:buildcache
6773
cache-to: type=gha,mode=max

apps/client/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"start": "vite dev --port 3000",
88
"start:preview": "vite preview",
99
"build": "vite build",
10-
"test": "vitest run",
1110
"lint": "biome check .",
1211
"format": "biome format --write .",
1312
"typecheck": "tsc -p tsconfig.json --noEmit"

0 commit comments

Comments
 (0)