From d1dee54c727f2f36dddf1c13f8165e3bebcb3921 Mon Sep 17 00:00:00 2001 From: Mark Bumiller Date: Mon, 26 Feb 2024 12:21:19 -0500 Subject: [PATCH] upgrade GH Actions Workflows (#34) * build against newer nodes * upgrade actions versions * cache dependencies --- .github/workflows/yarn-test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/yarn-test.yml b/.github/workflows/yarn-test.yml index 76d2ae3..a78c888 100644 --- a/.github/workflows/yarn-test.yml +++ b/.github/workflows/yarn-test.yml @@ -14,13 +14,15 @@ jobs: strategy: matrix: - node-version: [18.x] + # build against all active LTS and latest node + node-version: [18.x, 20.x, latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: yarn - run: yarn install - run: yarn test