Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 3a60c7b

Browse files
committed
ci: cache cypress
1 parent 328f0e9 commit 3a60c7b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/composite-actions/install/action.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ runs:
2525
restore-keys: |
2626
${{ runner.os }}-pnpm-store-
2727
28+
- name: Cache Cypress binary
29+
uses: actions/cache@v3
30+
with:
31+
path: ~/.cache/Cypress
32+
key:
33+
cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}
34+
restore-keys: |
35+
cypress-${{ runner.os }}-cypress-
36+
2837
- name: Setup Node.js
2938
uses: actions/setup-node@v3
3039
with:
@@ -39,4 +48,7 @@ runs:
3948
git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
4049
- name: Install dependencies
4150
shell: bash
42-
run: pnpm install
51+
run: |
52+
pnpm install --frozen-lockfile
53+
npx cypress verify
54+
npx cypress info

0 commit comments

Comments
 (0)