From 8db06a424b810efc8f09855eb91838ab9c8fa29c Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Sun, 7 May 2023 13:13:52 +0200 Subject: [PATCH] Use Node.js 20 in CI --- .github/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 823c03d..3eb7bc6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - run: npm ci - run: npm pack - uses: actions/upload-artifact@v3 @@ -26,7 +26,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - with: { node-version: latest } + with: + node-version: 20 - run: npm ci - run: npx prettier --check . @@ -35,7 +36,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - with: { node-version: latest } + with: + node-version: 20 - run: npm ci - run: npx remark --frail . @@ -51,7 +53,7 @@ jobs: steps: - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org - uses: actions/download-artifact@v3 with: { name: package }