From 7bd5387f858e6254396d1c5cffd89b5e35da4272 Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Tue, 7 Jan 2025 11:31:11 -0800 Subject: [PATCH] Update actions/setup-node v1 -> v4 Since this version includes caching, the actions/cache usage (which is using a version that will stop working in a month) can be removed. --- .github/workflows/build.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 28701ba..60c9fc8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,19 +12,9 @@ jobs: - name: Setup repo uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: 16.x - - name: Find cache - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - name: Restore cache - uses: actions/cache@v2 - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: Install dependencies run: yarn install --frozen-lockfile --check-files --ignore-scripts - name: Install scripts dependencies