Scheduling infrastructure for absolutely everyone.
Workflow updates
zomars20da74b4a6a4
diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.ymlindex bd83603180f..257f2ee74c5 100644--- a/.github/workflows/check-types.yml+++ b/.github/workflows/check-types.yml@@ -20,11 +20,8 @@ jobs:fetch-depth: 0- name: Use Node ${{ matrix.node }}- uses: actions/setup-node@v1+ uses: actions/setup-node@v2with:node-version: ${{ matrix.node }}-- - name: Install deps- uses: bahmutov/npm-install@v1-- - run: yarn check-changed-files+ - run: yarn+ - run: tscdiff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 39f91baca71..abfa24cf190 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -73,6 +73,7 @@ jobs:restore-keys: |${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-+ - run: cd apps/web- run: yarn prisma migrate deploy- run: yarn db-seed- run: yarn testdiff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 45c17cbdac5..7685c1a2b9f 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -22,6 +22,3 @@ jobs:- name: Lintrun: yarn lint-- - name: Type Checks- run: tscdiff --git a/package.json b/package.jsonindex 99861d88c16..a99becaa37e 100644--- a/package.json+++ b/package.json@@ -10,8 +10,10 @@"build": "turbo run build","clean": "turbo run clean && rm -rf node_modules","dev": "turbo run dev --parallel",+ "dx": "turbo run dx","lint": "turbo run lint",- "format": "prettier --write \"**/*.{ts,tsx,md}\""+ "format": "prettier --write \"**/*.{ts,tsx,md}\"",+ "prepare": "husky install"},"devDependencies": {"@trivago/prettier-plugin-sort-imports": "2.0.4",diff --git a/turbo.json b/turbo.jsonindex c64ed34f4de..75a09d16011 100644--- a/turbo.json+++ b/turbo.json@@ -1,4 +1,6 @@{+ "baseBranch": "origin/main",+ "globalDependencies": [".env"],"pipeline": {"build": {"dependsOn": ["^build"],@@ -7,11 +9,14 @@"clean": {"cache": false},- "lint": {- "outputs": []- },"dev": {"cache": false+ },+ "dx": {+ "cache": false+ },+ "lint": {+ "outputs": []}}}