mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-17 17:10:05 +00:00
fix(build): add cypress binary to the cache
This commit is contained in:
8
.github/workflows/build-unit-tests.yml
vendored
8
.github/workflows/build-unit-tests.yml
vendored
@@ -21,12 +21,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
# 2. Restore npm cache manually
|
# 2. Restore npm and cypress cache manually
|
||||||
- name: Restore npm cache
|
- name: Restore npm and cypress cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: |
|
||||||
|
~/.npm
|
||||||
|
~/.cypress/Cypress
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|||||||
8
.github/workflows/generateDocs.yml
vendored
8
.github/workflows/generateDocs.yml
vendored
@@ -23,12 +23,14 @@ jobs:
|
|||||||
node-version:
|
node-version:
|
||||||
${{ matrix.node-version }}
|
${{ matrix.node-version }}
|
||||||
|
|
||||||
# 2. Restore npm cache manually
|
# 2. Restore npm and cypress cache manually
|
||||||
- name: Restore npm cache
|
- name: Restore npm and cypress cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: |
|
||||||
|
~/.npm
|
||||||
|
~/.cypress/Cypress
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|||||||
8
.github/workflows/npmpublish.yml
vendored
8
.github/workflows/npmpublish.yml
vendored
@@ -23,12 +23,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
# 2. Restore npm cache manually
|
# 2. Restore npm and cypress cache manually
|
||||||
- name: Restore npm cache
|
- name: Restore npm and cypress cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: |
|
||||||
|
~/.npm
|
||||||
|
~/.cypress/Cypress
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|||||||
8
.github/workflows/server-tests.yml
vendored
8
.github/workflows/server-tests.yml
vendored
@@ -21,12 +21,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
# 2. Restore npm cache manually
|
# 2. Restore npm and cypress cache manually
|
||||||
- name: Restore npm cache
|
- name: Restore npm and cypress cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: |
|
||||||
|
~/.npm
|
||||||
|
~/.cypress/Cypress
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|||||||
Reference in New Issue
Block a user