From e7c9e82661679df09715d678d5f4c86a94bfc372 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Mon, 28 Dec 2020 11:17:22 +0800 Subject: [PATCH] github: update actions/setup-node action to v2 --- .github/workflows/benchmark.yml | 4 ++-- .github/workflows/linter.yml | 2 +- .github/workflows/stale.yml | 12 +----------- .github/workflows/tester.yml | 4 ++-- 4 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 528fdbeff8..83995404e9 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Cache NPM dependencies @@ -43,7 +43,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Cache NPM dependencies diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 2ecf6abc69..f77beb859a 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Use Node.js 12.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: '12.x' - name: Cache NPM dependencies diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index b56811ca02..c1cd545d26 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -15,14 +15,4 @@ jobs: This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. - exempt-issue-labels: - - bug - - discussion - - "help wanted" - - need-verify - - need-investigation - - pending-reply - - proposal - - feature-request - - enhancement - - documentation + exempt-issue-labels: bug,discussion,"help wanted",need-verify,need-investigation,pending-reply,proposal,feature-request,enhancement,documentation diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 7820e3f791..22fecf24cc 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Cache NPM dependencies @@ -37,7 +37,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Cache NPM dependencies