From 5fcba261f30679c68502c4f968e3ddf0052d0405 Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Mon, 23 Sep 2024 22:38:55 +0900 Subject: [PATCH] ci: test using Node.JS v18.0 This would have caught like https://github.com/braintree/sanitize-url/issues/78, as `URL.canParse()` was only added in Node.JS v18.17 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0de48b1..2241b38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,6 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: "18.x" + node-version: "18.0" - run: npm install - run: npm test