]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore!: drop Node.js 12 support
authorHaoqun Jiang <haoqunjiang@gmail.com>
Thu, 18 Nov 2021 10:38:51 +0000 (18:38 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Thu, 18 Nov 2021 10:38:51 +0000 (18:38 +0800)
1. Cypress 9.0.0 doesn't play nice with Node.js 12 https://github.com/cypress-io/cypress/issues/18973
2. This package is for creating new projects, so I expect most users are
using a more up-to-date version of Node.js

.github/workflows/ci.yml
package.json

index 1e2864e69dbf9756adc8faeb106620d1a20e5042..bf3cd2547361d458813ebd5e39fd2c2456ef34de 100644 (file)
@@ -18,10 +18,10 @@ jobs:
         node-version:
           - 14
         include:
-          - node-version: 12
-            os: ubuntu-latest
           - node-version: 16
             os: ubuntu-latest
+          - node-version: 17
+            os: ubuntu-latest
     name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
     steps:
       - uses: actions/checkout@v1
index 1f629b69d9b3a359e5ce5e791cee7b2bf4c0fe55..828a799d83c8bbd8e9f69294877ab984c556e36b 100644 (file)
@@ -11,7 +11,7 @@
     "template"
   ],
   "engines": {
-    "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+    "node": "^14.13.1 || >=16.0.0"
   },
   "scripts": {
     "prepare": "husky install",