File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,23 @@ jobs:
2828 - name : Checkout Repo
2929 uses : actions/checkout@v4
3030 - name : Set up Node (20)
31- uses : actions/setup-node@v3
31+ uses : actions/setup-node@v4
3232 with :
3333 node-version : 20.x
34+ cache : ' npm'
35+ cache-dependency-path : yarn.lock
36+ - name : Restore cached node_modules
37+ uses : actions/cache@v4
38+ id : node_modules
39+ with :
40+ path : " ./node_modules"
41+ key : node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
3442 - name : Write Project Config
3543 env :
3644 PROJECT_CONFIG : ${{ secrets.PROJECT_CONFIG }}
3745 run : echo "export const firebaseConfig = $PROJECT_CONFIG;" > src/lib/app_tests/firebase.ts
3846 - name : Yarn install
39- run : yarn
47+ run : yarn --frozen-lockfile
4048 - name : Yarn build
4149 run : yarn build
4250 - name : Install Playwright browsers
You can’t perform that action at this time.
0 commit comments