From 1ee314575662cff4131349b5c10ecc1c61447d6e Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 5 Jan 2021 23:53:23 +0800 Subject: [PATCH] ci: upgrade actions/setup-node --- .github/workflows/bench.yaml | 2 +- .github/workflows/lint.yaml | 2 +- .github/workflows/linux-aarch64.yaml | 2 +- .github/workflows/linux-armv7.yaml | 2 +- .github/workflows/test.yaml | 2 +- cli/src/new/ci-yml.ts | 12 ++++++------ 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/bench.yaml b/.github/workflows/bench.yaml index 3289de2c..8f344d24 100644 --- a/.github/workflows/bench.yaml +++ b/.github/workflows/bench.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: 14 check-latest: true diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 3cd5b3a8..ab268aef 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: 14 check-latest: true diff --git a/.github/workflows/linux-aarch64.yaml b/.github/workflows/linux-aarch64.yaml index 3f3147ee..bcd44b18 100644 --- a/.github/workflows/linux-aarch64.yaml +++ b/.github/workflows/linux-aarch64.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: 14 check-latest: true diff --git a/.github/workflows/linux-armv7.yaml b/.github/workflows/linux-armv7.yaml index d018af35..2e325a24 100644 --- a/.github/workflows/linux-armv7.yaml +++ b/.github/workflows/linux-armv7.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: 14 check-latest: true diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 81c4301a..fceb34b4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} check-latest: true diff --git a/cli/src/new/ci-yml.ts b/cli/src/new/ci-yml.ts index ce805095..7e8e5a5f 100644 --- a/cli/src/new/ci-yml.ts +++ b/cli/src/new/ci-yml.ts @@ -76,7 +76,7 @@ export const createGithubActionsCIYml = ( - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: ${LATEST_LTS_NODE} check-latest: true @@ -267,7 +267,7 @@ export const createGithubActionsCIYml = ( - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: ${LATEST_LTS_NODE} check-latest: true @@ -332,7 +332,7 @@ export const createGithubActionsCIYml = ( - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: ${LATEST_LTS_NODE} check-latest: true @@ -453,7 +453,7 @@ export const createGithubActionsCIYml = ( - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: \${{ matrix.node }} check-latest: true @@ -536,7 +536,7 @@ export const createGithubActionsCIYml = ( - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: \${{ matrix.node }} check-latest: true @@ -621,7 +621,7 @@ ${requiredSteps.map((s) => ` - ${s}`).join('\n')} - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: ${LATEST_LTS_NODE} check-latest: true