From 5a124cec72223d35879f56a8715d9151d1826d29 Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 17 May 2022 22:30:16 -0600 Subject: [PATCH] Ci updates --- .github/workflows/check-types.yml | 5 +++-- .github/workflows/lint.yml | 9 ++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.yml index a8c933d87e..4fe5ff2207 100644 --- a/.github/workflows/check-types.yml +++ b/.github/workflows/check-types.yml @@ -19,8 +19,9 @@ jobs: fetch-depth: 0 - name: Use Node ${{ matrix.node }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - - run: yarn + cache: "yarn" + - run: yarn --frozen-lockfile - run: yarn type-check diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e89e712f52..496977707f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,16 +18,15 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 2 - - name: Use Node.js 14.x - uses: actions/setup-node@v2 + - name: Use Node ${{ matrix.node }} + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - # cache: "yarn" - # cache-dependency-path: yarn.lock + cache: "yarn" - name: Install deps if: steps.yarn-cache.outputs.cache-hit != 'true' - run: yarn + run: yarn --frozen-lockfile - name: Lint run: yarn lint:report