diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index e8d9c4c..5882cd0 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -25,17 +25,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Save yarn cache location to env - run: echo "YARN_CACHE=$(yarn cache dir)" >> $GITHUB_ENV - - - name: Cache node_modules - uses: actions/cache@v3 + - name: Set up node + uses: actions/setup-node@v4 with: - path: ${{ env.YARN_CACHE }} - key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock', '**/package-lock.json') }} + node-version: 20 + cache: yarn - name: Install dependencies - run: yarn install + run: yarn install --frozen-lockfile - name: Run linter run: yarn lint