From 7213dfa76ded51f3a8757acf170b743c6b382212 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Thu, 9 Nov 2023 22:48:33 +0000 Subject: [PATCH] fix setup-node on github CI --- .github/workflows/{CI.yml => ci.yml} | 13 +++++++++++++ 1 file changed, 13 insertions(+) rename .github/workflows/{CI.yml => ci.yml} (88%) diff --git a/.github/workflows/CI.yml b/.github/workflows/ci.yml similarity index 88% rename from .github/workflows/CI.yml rename to .github/workflows/ci.yml index d0f9e595..0ab877a8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v4 + with: + node-version: 12.x + cache: yarn - run: yarn install --frozen-lockfile --non-interactive - run: yarn lint:js @@ -30,8 +34,10 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: yarn - run: yarn install --frozen-lockfile --non-interactive - run: yarn test @@ -45,8 +51,10 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: yarn - run: yarn install --frozen-lockfile --non-interactive - run: PREFER_NATIVE=true yarn test @@ -60,8 +68,10 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: yarn - run: yarn install --frozen-lockfile --non-interactive - run: NATIVE_PROMISE=true yarn test @@ -75,8 +85,10 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: yarn - run: yarn install --frozen-lockfile --non-interactive - run: yarn run test:node @@ -105,6 +117,7 @@ jobs: allow-failure: true steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v4 with: node-version: 12.x - name: install dependencies