From 8c96f4197f7b3b994786378753ff4ef12f030cd1 Mon Sep 17 00:00:00 2001 From: Junxiao Shi Date: Sun, 14 Jan 2024 00:18:56 +0000 Subject: [PATCH] ci: prefer Node 20.x --- .github/workflows/build.yml | 8 ++++---- LICENSE | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7e07f7d..d090dd4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: key: build-${{ hashFiles('**/package.json') }} - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - run: corepack pnpm install env: PUPPETEER_SKIP_DOWNLOAD: true @@ -49,11 +49,11 @@ jobs: env: PUPPETEER_SKIP_DOWNLOAD: true - run: corepack pnpm test - if: ${{ matrix.node != 18 }} + if: ${{ matrix.node != 20 }} - run: corepack pnpm cover - if: ${{ matrix.node == 18 }} + if: ${{ matrix.node == 20 }} - uses: coverallsapp/github-action@master - if: ${{ matrix.node == 18 }} + if: ${{ matrix.node == 20 }} continue-on-error: true with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/LICENSE b/LICENSE index 71908a56..ed3a5594 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ ISC License -Copyright (c) 2019-2023, Junxiao Shi +Copyright (c) 2019-2024, Junxiao Shi Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above