diff --git a/.github/workflows/required-primary-checks.yml b/.github/workflows/required-primary-checks.yml index d5af6fef0d..8f7317d2bb 100644 --- a/.github/workflows/required-primary-checks.yml +++ b/.github/workflows/required-primary-checks.yml @@ -33,6 +33,11 @@ jobs: - name: Lerna bootstrap run: npx lerna bootstrap + - name: Test Next + run: | + npm run next + lerna exec -- npm i --no-audit --no-progress --ignore-scripts --package-lock-only --lockfile-version 2 + - name: Lint run: npm run lint diff --git a/package.json b/package.json index d25ec99ecb..286963fb61 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "prepare": "test ! -n \"$CI\" && husky install || echo skip husky", "bootstrap": "npx lerna bootstrap", "bootstrap:since": "npm run bootstrap -- --since=$(git merge-base --fork-point origin/dev)", - "postinstall": "patch-package" + "postinstall": "patch-package", + "next": "auto next -d" }, "devDependencies": { "@actions/core": "1.2.7",