File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,30 +3,23 @@ name: Pull Request Checks
33on :
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+
1412jobs :
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
Original file line number Diff line number Diff line change 99 - " v*"
1010 workflow_dispatch :
1111
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
1216env :
1317 REGISTRY : ghcr.io
1418 IMAGE_NAME : ${{ github.repository }}
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
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments