From 7c108a87e8becd6544cd655bbde9953d02c76383 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 23 Mar 2025 18:55:46 +0000 Subject: [PATCH] ci: use Node LTS to build --- .github/workflows/docs.yml | 4 ++-- .github/workflows/lint.yml | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0fdcdc16..8d4d4e1a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,10 +13,10 @@ jobs: with: submodules: recursive - uses: pnpm/action-setup@v4.0.0 - - name: Use Node.js 18 + - name: Use Node.js LTS uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 22 cache: "pnpm" - name: Install packages run: pnpm install diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index edd89fad..2fa1595b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,20 +9,16 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x, 20.x] - steps: - name: Checkout repository and submodules uses: actions/checkout@v3 with: submodules: recursive - uses: pnpm/action-setup@v4.0.0 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js LTS uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 22 cache: "pnpm" - name: Install packages run: pnpm install