Skip to content

Commit

Permalink
fix workflow cache
Browse files Browse the repository at this point in the history
  • Loading branch information
bubonicfred committed Jun 16, 2024
1 parent 3b44f9c commit be22451
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/runtests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node18-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-node18-
- uses: actions/setup-node@v4
with:
node-version: "18.13.0"
Expand Down Expand Up @@ -77,9 +77,9 @@ jobs:
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node14-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-node14-
- run: npm install
- run: mkdir ./tests/mongodump
- run: ./tests/run_e2e.sh tests/end2end/${{ matrix.e2etest }}
Expand Down
1 change: 0 additions & 1 deletion tests/run_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,5 @@ mongodump -h localhost:3101 -d meteor -o ./tests/mongodump
mkdir versions
npm ls >./versions/npm.txt
google-chrome --version >./versions/chrome.txt
./node_modules/chromedriver/bin/chromedriver --version >./versions/chrome_driver.txt

exit "$WDIO_RESULT"

0 comments on commit be22451

Please sign in to comment.