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