From 923ec08aea7d508ff6d8ce91befa11696617ab29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Nikoli=C4=87?= Date: Sun, 15 Oct 2023 11:38:11 +0200 Subject: [PATCH] Upgrade package --- .github/workflows/ci.yml | 7 ++----- package.json | 10 +++++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed801fb..62706e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,14 +4,11 @@ on: - pull_request jobs: Test: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: matrix: node-version: - - 12.22 - os: - - ubuntu-latest - - windows-latest + - 16 steps: - name: Clone repository uses: actions/checkout@v2 diff --git a/package.json b/package.json index 33bfc7c..9a92b3f 100644 --- a/package.json +++ b/package.json @@ -34,11 +34,11 @@ "release": "np --no-release-draft", "version": "if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then sed -i '' '/\\[unreleased\\]:/d' CHANGELOG.md && version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi", "postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog", - "lint": "eslint \"{index,lib/**/*,test/**/*,generate-list}.js\"", - "test": "mocha --require esm \"test/**/*.js\"", + "lint": "eslint '{index,lib/**/*,test/**/*,generate-list}.js'", + "test": "mocha --require esm 'test/**/*.js'", "test:watch": "npm test -- --watch", "build": "rollup --config rollup.config.js", - "module-check": "node -e \"require('css-functions-list');\" && node --input-type=module -e \"import 'css-functions-list';\"", + "module-check": "node -e 'require(\"css-functions-list\");' && node --input-type=module -e 'import \"css-functions-list\";'", "prepublishOnly": "npm run build", "lint:types": "tsc", "prerelease": "npm run lint && npm run lint:types && npm run build && npm run module-check" @@ -61,7 +61,7 @@ "isomorphic-unfetch": "^3.1.0", "jsdom": "^17.0.0", "lint-staged": "^10.4.2", - "mocha": "^8.4.0", + "mocha": "^9.1.3", "np": "^7.6.0", "prettier": "^2.4.0", "rollup": "^2.32.1", @@ -70,7 +70,7 @@ "write-json-file": "^4.3.0" }, "engines": { - "node": ">=12.22" + "node": ">=12 || >=16" }, "keywords": [ "css",