From fa719ed55cdcb23f60cb449d2aaf3d4f4ac5f8b8 Mon Sep 17 00:00:00 2001 From: Felix Mosheev <9304194+felixmosh@users.noreply.github.com> Date: Tue, 10 May 2022 16:15:33 +0300 Subject: [PATCH] Update action/setup-node to v2 --- .github/workflows/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8460262..c45fcfd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,12 +20,15 @@ jobs: uses: actions/checkout@v2 - name: Use Node ${{ matrix.node }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} + cache: 'yarn' - - name: Install deps and build (with cache) - uses: bahmutov/npm-install@v1 + - name: Install Packages + run: yarn install --frozen-lockfile + env: + CI: true - name: Lint run: yarn lint