From 47f38dbd02692ce00a81ffdb73ed705e2a10d5fd Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Wed, 12 Jun 2024 11:00:57 +0200 Subject: [PATCH] Run CI on Linux only, fix linting Signed-off-by: Matteo Collina --- .github/workflows/ci.yml | 4 ++-- benchmark/index.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a1b17a..751a101 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,8 @@ jobs: strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [8.x, 10.x, 12.x, 14.x] + os: [ubuntu-latest] + node-version: [8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 diff --git a/benchmark/index.js b/benchmark/index.js index ecf99b5..ccf66cc 100644 --- a/benchmark/index.js +++ b/benchmark/index.js @@ -1,4 +1,7 @@ 'use strict' + +/* global structuredClone */ + const bench = require('fastbench') const deepCopy = require('deep-copy') const lodashCloneDeep = require('lodash.clonedeep')