fix: update min node to v18 (#2767)

BREAKING CHANGE: minimum supported node version v18
pull/2778/head
Tony Brix 2023-05-01 23:27:33 -05:00 committed by GitHub
parent 63d3cd8de2
commit c6852f5289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ jobs:
strategy: strategy:
matrix: matrix:
# lowest verison here should also be in `engines` field # lowest verison here should also be in `engines` field
node_version: [12, 'lts/*', '*'] node_version: [18, 'lts/*', '*']
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Code - name: Checkout Code

View File

@ -88,6 +88,6 @@
"minify": "uglifyjs lib/marked.umd.js -cm --comments /Copyright/ -o marked.min.js" "minify": "uglifyjs lib/marked.umd.js -cm --comments /Copyright/ -o marked.min.js"
}, },
"engines": { "engines": {
"node": ">= 12" "node": ">= 18"
} }
} }