From 9d3b7bd787aaebcf148e868fcb08766b6d7e294e Mon Sep 17 00:00:00 2001 From: plainheart Date: Sun, 12 Dec 2021 22:34:43 +0800 Subject: [PATCH] chore(workflow): upgrade checkout & setup-node action to `v2` and use latest stale action v4. --- .github/workflows/ci.yml | 6 +++--- .github/workflows/nightly-next.yml | 2 +- .github/workflows/nightly.yml | 2 +- .github/workflows/source-release.yml | 10 +++++----- .github/workflows/stale.yml | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f8c7c6fb6..67c387f66b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,9 @@ jobs: node-version: [12.x] steps: - - uses: actions/checkout@v1 + - 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 }} @@ -42,4 +42,4 @@ jobs: run: npm run test:dts - name: Unit Test - run: npm run test \ No newline at end of file + run: npm run test diff --git a/.github/workflows/nightly-next.yml b/.github/workflows/nightly-next.yml index 7028c1db06..a8f1f2a9cf 100644 --- a/.github/workflows/nightly-next.yml +++ b/.github/workflows/nightly-next.yml @@ -22,7 +22,7 @@ jobs: ref: next - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: registry-url: https://registry.npmjs.org/ - name: Setup and publish nightly diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 7e74404ec9..030044bbb4 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -19,7 +19,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: registry-url: https://registry.npmjs.org/ - name: Setup and publish nightly diff --git a/.github/workflows/source-release.yml b/.github/workflows/source-release.yml index e179feac6f..db4c7e2f77 100644 --- a/.github/workflows/source-release.yml +++ b/.github/workflows/source-release.yml @@ -13,10 +13,10 @@ jobs: node-version: [12.x] steps: - - uses: actions/checkout@v1 + - 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 }} @@ -58,10 +58,10 @@ jobs: node-version: [12.x] steps: - - uses: actions/checkout@v1 + - 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 }} @@ -112,7 +112,7 @@ jobs: steps: - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 18f55567c5..7f1420b4c5 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Close Stale Issues - uses: actions/stale@v4.0.0 + uses: actions/stale@v4 with: days-before-stale: 730 days-before-close: 7