From bc96d4895d97e7a2fd2c40118a5df7eb4cdf0002 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sat, 11 Dec 2021 05:02:16 +0800 Subject: [PATCH] chore: ci --- .github/workflows/release.yml | 8 +++++--- .github/workflows/test.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb0c1212d..ecc04c858 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,16 +10,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Install pnpm uses: pnpm/action-setup@v2.0.1 with: - version: 6.15.1 + version: 6.23.5 - - name: Set node version to ${{ matrix.node_version }} + - name: Set node version to v16 uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node_version }} + node-version: 16 cache: "pnpm" # - run: pnpm i -g @antfu/ni diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e98982327..c22cac631 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2.0.1 with: - version: 6.15.1 + version: 6.23.5 - name: Set node version to ${{ matrix.node_version }} uses: actions/setup-node@v2