From e26ca58114f674a45023e824a5543f80e5a528aa Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Tue, 30 Apr 2024 11:11:04 +0200 Subject: [PATCH] Use Node.js 22 in GitHub Actions --- .github/workflows/ci.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 40fc0e0..19e5118 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 - run: npm ci - run: npx eslint . @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 - run: npm ci - run: npm pack - uses: actions/upload-artifact@v3 @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 - run: npm ci - run: npx remark --frail . @@ -46,6 +46,7 @@ jobs: node-version: - 18 - 20 + - 22 steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -60,7 +61,7 @@ jobs: name: test-results-node${{ matrix.node-version }} path: test-results/ - uses: codecov/codecov-action@v3 - if: ${{ matrix.node-version == 20 }} + if: ${{ matrix.node-version == 22 }} prettier: runs-on: ubuntu-latest @@ -68,7 +69,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: 20 + node-version: 22 - run: npm ci - run: npx prettier . @@ -78,7 +79,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 - run: npm ci - run: npx tsc @@ -97,7 +98,7 @@ jobs: steps: - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 registry-url: https://registry.npmjs.org - uses: actions/download-artifact@v3 with: { name: package }