From df0c90ed103f63d45fa08721c2e32e73f087fd75 Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Fri, 24 Dec 2021 23:45:50 +0300 Subject: [PATCH] Fix Node.js 10 on CI and pnpm --- .github/workflows/test.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d29e775..9c0df956 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,7 +32,6 @@ jobs: - 16 - 14 - 12 - - 10 name: Node.js ${{ matrix.node-version }} Quick steps: - name: Checkout the repository @@ -52,6 +51,28 @@ jobs: run: ./node_modules/.bin/jest env: FORCE_COLOR: 2 + old: + runs-on: ubuntu-latest + name: Node.js 10 Quick + steps: + - name: Checkout the repository + uses: actions/checkout@v2 + - name: Install pnpm + uses: pnpm/action-setup@v1 + with: + version: 3 + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + - name: Install Node.js 10 + uses: actions/setup-node@v2 + with: + node-version: 10 + - name: Install dependencies + run: pnpm install --frozen-lockfile --ignore-scripts + - name: Run unit tests + run: pnpm unit + env: + FORCE_COLOR: 2 benchmark: name: Benchmark runs-on: ubuntu-latest