From b74efadfb827f989e46b1440cbf97d1bc773b868 Mon Sep 17 00:00:00 2001 From: Barrett Burnworth <77902178+pantheredeye@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:09:42 -0600 Subject: [PATCH] Update actions to v4 and add caching --- .github/workflows/main.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index acdf27a..1781913 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,17 +9,22 @@ on: jobs: lint-and-test: + + strategy: + matrix: + node-version: ['22.11.0'] + runs-on: ubuntu-24.04 steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 22.11.0 - + uses: actions/setup-node@v4 + with: + cache: 'yarn' + - name: Enable Corepack run: corepack enable