File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Project
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 10
13+
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - name : Setup Node and Corepack
18+ 19+ with :
20+ node-version : 20.x
21+
22+ - name : Enable Corepack and Set Yarn Version
23+ run : |
24+ corepack enable
25+ corepack prepare [email protected] --activate 26+
27+ - name : Restore Yarn Cache
28+ uses : actions/cache@v3
29+ id : yarn-cache
30+ with :
31+ path : .yarn/cache
32+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
33+ restore-keys : |
34+ ${{ runner.os }}-yarn-
35+
36+ - name : Install dependencies
37+ run : yarn install --immutable
38+
39+ - name : Build project
40+ run : yarn build
You can’t perform that action at this time.
0 commit comments