Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Fix deprecated warn gh actions (#4962)

Outsider9f24d0d03fd3
diff --git a/.github/workflows/browser-test.yml b/.github/workflows/browser-test.yml
index 306a139e..460684ce 100644
--- a/.github/workflows/browser-test.yml
+++ b/.github/workflows/browser-test.yml
@@ -33,7 +33,7 @@ jobs:
SAUCE_USERNAME: '${{secrets.SAUCE_USERNAME}}'
SAUCE_ACCESS_KEY: '${{secrets.SAUCE_ACCESS_KEY}}'
- name: remove 'run-browser-test' label
- uses: buildsville/add-remove-label@v1
+ uses: buildsville/[email protected]
if: ${{ always() }}
with:
token: ${{secrets.GITHUB_TOKEN}}
diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml
index d4f7a667..db5d7b2c 100644
--- a/.github/workflows/mocha.yml
+++ b/.github/workflows/mocha.yml
@@ -103,7 +103,7 @@ jobs:
id: npm-cache
if: ${{ matrix.os == 'windows-2019' }}
run: |
- echo "::set-output name=dir::$(npm config get cache)"
+ echo "dir=$(npm config get cache)" >> $env:GITHUB_OUTPUT
- name: 'Cache node_modules'
uses: actions/cache@v3
with: