Skip to content

Commit

Permalink
chore: restore cacheing step
Browse files Browse the repository at this point in the history
  • Loading branch information
ozyx committed Aug 8, 2023
1 parent 7321501 commit 27fb795
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/e2e-couchdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
with:
node-version: 'lts/hydrogen'

# - name: Cache NPM dependencies
# uses: actions/cache@v3
# with:
# path: ~/.npm
# key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
# restore-keys: |
# ${{ runner.os }}-node-
- name: Cache NPM dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install --no-audit --progress=false
- run: npm install --cache ~/.npm --prefer-offline --no-audit --progress=false

- name: Login to DockerHub
uses: docker/login-action@v2
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/e2e-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ jobs:
with:
node-version: 'lts/hydrogen'

# - name: Cache NPM dependencies
# uses: actions/cache@v3
# with:
# path: ~/.npm
# key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
# restore-keys: |
# ${{ runner.os }}-node-
- name: Cache NPM dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npx playwright@1.36.2 install
- run: npx playwright install chrome-beta
- run: npm install --no-audit --progress=false
- run: npm install --cache ~/.npm --prefer-offline --no-audit --progress=false
- run: npm run test:e2e:full -- --max-failures=40
- run: npm run cov:e2e:report || true
- shell: bash
Expand Down

0 comments on commit 27fb795

Please sign in to comment.