diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 74e61dc4f..9038802f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v2 with: - node-version: "16.x" + node-version: "18.x" - run: yarn - run: yarn run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e14e11b9..16b9d11c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,8 @@ name: CI for PR -on: +on: push: - branches: + branches: - '**' - '!development' @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: "16.x" + node-version: "18.x" - run: yarn - run: yarn run lint - run: yarn run build diff --git a/package.json b/package.json index 8ed6cd3aa..a656b05e6 100755 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ } }, "engines": { - "node": "16.x" + "node": ">=18.x" }, "repository": { "type": "git", @@ -57,6 +57,7 @@ "jest": "^26.6.3", "lerna": "^5.3.0", "lerna-changelog": "^2.2.0", + "prettier": "2.3.1", "pretty-quick": "^3.1.0", "rimraf": "^3.0.0", "ts-jest": "^26.5.6", diff --git a/packages/teleport-project-generator-next/src/project-template.ts b/packages/teleport-project-generator-next/src/project-template.ts index cc4c17a33..e4918b948 100644 --- a/packages/teleport-project-generator-next/src/project-template.ts +++ b/packages/teleport-project-generator-next/src/project-template.ts @@ -21,6 +21,9 @@ export default { "next": "^12.1.0", "react": "^17.0.2", "react-dom": "^17.0.2" + }, + "engines": { + "node": ">=18.x" } }`, fileType: 'json', diff --git a/yarn.lock b/yarn.lock index 372b89d3c..121d86a97 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9148,6 +9148,11 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= +prettier@2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.1.tgz#76903c3f8c4449bc9ac597acefa24dc5ad4cbea6" + integrity sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA== + prettier@^2.3.1: version "2.5.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a"