File tree Expand file tree Collapse file tree 1 file changed +12
-44
lines changed
Expand file tree Collapse file tree 1 file changed +12
-44
lines changed Original file line number Diff line number Diff line change 11name : CI
22
33on :
4- push :
5- branches : [main]
64 pull_request :
7- branches : [main]
8-
9- concurrency :
10- group : ${{ github.workflow }}-${{ github.ref }}
11- cancel-in-progress : true
5+ push :
126
137jobs :
148 ci :
159 runs-on : ubuntu-latest
16-
10+
1711 steps :
18- - name : Checkout repository
19- uses : actions/checkout@v4
12+ - uses : actions/checkout@v4
2013
21- - name : Setup Node.js
22- uses : actions/setup-node@v4
14+ - uses : pnpm/action-setup@v4
2315 with :
24- node- version-file : ' .nvmrc '
16+ version : 9
2517
26- - name : Setup pnpm
27- uses : pnpm/action-setup@v2
18+ - uses : actions/setup-node@v4
2819 with :
29- version : 9.0.0
30-
31- - name : Get pnpm store directory
32- shell : bash
33- run : |
34- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
35-
36- - name : Setup pnpm cache
37- uses : actions/cache@v3
38- with :
39- path : ${{ env.STORE_PATH }}
40- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
41- restore-keys : |
42- ${{ runner.os }}-pnpm-store-
20+ node-version : 20
21+ cache : ' pnpm'
4322
4423 - name : Install dependencies
4524 run : pnpm install --frozen-lockfile
4625
47- - name : Lint
48- run : pnpm lint
49- continue-on-error : false
50-
51- - name : Typecheck
52- run : pnpm typecheck
53- continue-on-error : false
54-
55- - name : Test
56- run : pnpm test
57- continue-on-error : false
58-
59- - name : Build packages
60- run : pnpm -r build
61- continue-on-error : false
26+ - name : Install Foundry
27+ uses : foundry-rs/foundry-toolchain@v1
28+ with :
29+ version : nightly
You can’t perform that action at this time.
0 commit comments