diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index cba0f10..da2301a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,11 +16,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 16 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 22 cache: 'npm' - - run: npm ci --legacy-peer-deps + - run: npm ci --force - run: npm run build --if-present - run: npm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d966e83..528e79d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x] + node-version: [20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ os: [ubuntu-latest, windows-latest, macOS-latest] @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 22 registry-url: https://registry.npmjs.org/ - run: npm ci --legacy-peer-deps - run: npm run build --if-present