From f508f2f79a1234b6e9b7e5b8ff0e878da5d1f861 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 19 Mar 2023 07:02:24 +0100 Subject: [PATCH 1/2] GitHub Action to do npm ci ; npm test * https://github.com/nodejs/release#release-schedule * https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..b379ea09 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +# https://github.com/nodejs/release#release-schedule +# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs +name: ci +on: [push] +jobs: + ci: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: [14.x, 16.x, 18.x, 19.x] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm test From 5ef19dcc3d25d26357c3b59d33387af4e5be98ba Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 19 Mar 2023 07:15:10 +0100 Subject: [PATCH 2/2] AppVeyor: Node.js on Visual Studio 2022 --- .appveyor.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 28afb32b..bd4fef66 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,5 +1,9 @@ +--- +image: + - Visual Studio 2022 + environment: - NODEJS_VERSION: "10" + NODEJS_VERSION: "18" PREBUILD_UPLOAD: secure: oNyyLE7/Oq3TUGZPz6DkLFPUuQzc8FiFS1iuPp7LZ2fyOP/UF4Np4NzJmWcXVyY/