Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

build(deps): bump the github-actions group with 2 updates (#5125)

dependabot[bot]7ac67f3735b1
diff --git a/.github/workflows/browser-test.yml b/.github/workflows/browser-test.yml
index a037f6cc..89076943 100644
--- a/.github/workflows/browser-test.yml
+++ b/.github/workflows/browser-test.yml
@@ -20,7 +20,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: 'Cache node_modules'
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: '~/.npm'
key: "ubuntu-latest-node-full-lts-${{ hashFiles('**/package-lock.json') }}"
@@ -32,7 +32,7 @@ jobs:
SAUCE_USERNAME: '${{secrets.SAUCE_USERNAME}}'
SAUCE_ACCESS_KEY: '${{secrets.SAUCE_ACCESS_KEY}}'
- name: remove 'run-browser-test' label
- uses: buildsville/[email protected]
+ uses: buildsville/[email protected]
if: ${{ always() }}
with:
token: ${{secrets.GITHUB_TOKEN}}
diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml
index a71d4780..33e357fd 100644
--- a/.github/workflows/mocha.yml
+++ b/.github/workflows/mocha.yml
@@ -70,7 +70,7 @@ jobs:
with:
persist-credentials: false
- name: 'Cache node_modules'
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: '~/.npm'
key: "ubuntu-latest-node-lts-${{ hashFiles('**/package-lock.json') }}"
@@ -113,7 +113,7 @@ jobs:
run: |
echo "dir=$(npm config get cache)" >> $env:GITHUB_OUTPUT
- name: 'Cache node_modules'
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ matrix.os == 'ubuntu-latest' && '~/.npm' || steps.npm-cache.outputs.dir }}
key: "${{ matrix.os }}-node-v${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}"
@@ -152,7 +152,7 @@ jobs:
with:
persist-credentials: false
- name: 'Cache node_modules'
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: '~/.npm'
# this key is different than above, since we are running scripts
@@ -189,7 +189,7 @@ jobs:
with:
persist-credentials: false
- name: 'Cache node_modules'
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: '~/.npm'
# this key is different than above, since we are running scripts