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 8b571b46..c4ae42f9 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: 10.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