diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d04fb37d..7064059e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,16 +8,16 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v4 with: fetch-depth: 10 - - name: Use Node.js 18.x to build + - name: Use Node.js 20.x to build uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - run: npm install - run: npm run build - run: rm -rf node_modules @@ -30,10 +30,10 @@ jobs: env: CI: true - run: npm run lint - if: matrix.node-version == '18.x' + if: matrix.node-version == '20.x' - run: npm run docs:diff - if: matrix.node-version == '18.x' + if: matrix.node-version == '20.x' - run: npm run test:node - if: matrix.node-version >= '18.x' + if: matrix.node-version >= '20.x' - run: npm run test:pack - if: matrix.node-version >= '18.x' + if: matrix.node-version >= '20.x' diff --git a/README.md b/README.md index 742c6877..46c54456 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ For the creation of [RFC4122](https://www.ietf.org/rfc/rfc4122.txt) UUIDs - **Complete** - Support for RFC4122 version 1, 3, 4, 5, and 7 UUIDs - **Cross-platform** - Support for ... - CommonJS, [ECMAScript Modules](#ecmascript-modules) and [CDN builds](#cdn-builds) - - NodeJS 12+ ([LTS releases](https://github.com/nodejs/Release)) + - NodeJS 16+ ([LTS releases](https://github.com/nodejs/Release)) - Chrome, Safari, Firefox, Edge browsers - Webpack and rollup.js module bundlers - [React Native / Expo](#react-native--expo) diff --git a/README_js.md b/README_js.md index 86595e2a..014b6c89 100644 --- a/README_js.md +++ b/README_js.md @@ -24,7 +24,7 @@ For the creation of [RFC4122](https://www.ietf.org/rfc/rfc4122.txt) UUIDs - **Complete** - Support for RFC4122 version 1, 3, 4, 5, and 7 UUIDs - **Cross-platform** - Support for ... - CommonJS, [ECMAScript Modules](#ecmascript-modules) and [CDN builds](#cdn-builds) - - NodeJS 12+ ([LTS releases](https://github.com/nodejs/Release)) + - NodeJS 16+ ([LTS releases](https://github.com/nodejs/Release)) - Chrome, Safari, Firefox, Edge browsers - Webpack and rollup.js module bundlers - [React Native / Expo](#react-native--expo) diff --git a/package.json b/package.json index 3ce43ec9..344b6065 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "prettier:fix": "prettier --write .", "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json", "md": "runmd --watch --output=README.md README_js.md", - "docs": "( node --version | grep -q 'v18' ) && ( npm run build && npx runmd --output=README.md README_js.md )", + "docs": "( node --version | grep -q 'v20' ) && ( npm run build && npx runmd --output=README.md README_js.md )", "docs:diff": "npm run docs && git diff --quiet README.md", "build": "./scripts/build.sh", "prepack": "npm run build",