From 80770d524160c6c4d7e7e5fa339582cb5cedd62f Mon Sep 17 00:00:00 2001 From: Alpha Date: Tue, 24 Sep 2024 09:47:05 -0400 Subject: [PATCH] chore(ci): update node version --- .github/workflows/node.js.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7bffc83..a34e0b6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -12,15 +12,16 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 id: cache-node with: path: node_modules key: ${{ hashFiles('package.json') }} - - uses: actions/setup-node@v1 + - run: corepack enable + - uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20 - run: yarn install if: steps.cache-node.outputs.cache-hit != 'true' - run: yarn lint