From b103eed8e191b63265e1c65c8e8633b14a5b6b64 Mon Sep 17 00:00:00 2001 From: Tyler Nickerson Date: Sun, 8 Sep 2024 13:00:11 -0700 Subject: [PATCH] wip --- .github/workflows/deploy.yml | 31 ------------------------------- .github/workflows/preview.yml | 31 ------------------------------- .github/workflows/tests.yml | 2 +- 3 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 .github/workflows/deploy.yml delete mode 100644 .github/workflows/preview.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 16d0745..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Preview Deploy - -on: - push: - branches: - - main - -env: - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup bun - uses: oven-sh/setup-bun@v2 - with: - bun-version: latest - - name: Install Vercel CLI - run: npm install --global vercel@latest - - name: Install dependencies - run: bun install --frozen-lockfile - - name: Run build - run: bun run build - - name: Typcheck - run: bun run check - - name: Deploy to Vercel - working-directory: ./www - run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml deleted file mode 100644 index 8bdd466..0000000 --- a/.github/workflows/preview.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Preview Deploy - -on: - push: - branches-ignore: - - main - -env: - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup bun - uses: oven-sh/setup-bun@v2 - with: - bun-version: latest - - name: Install Vercel CLI - run: npm install --global vercel@latest - - name: Install dependencies - run: bun install --frozen-lockfile - - name: Run build - run: bun run build - - name: Typcheck - run: bun run check - - name: Deploy to Vercel - working-directory: ./www - run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 549cc32..8220479 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,4 +20,4 @@ jobs: - name: Build packages run: bun run build --filter='@atmx-org/*' - name: Running tests - run: bun test --affected + run: bun test