From 5e6c5cda8e96916d59b71aa7646671b61743e194 Mon Sep 17 00:00:00 2001 From: Cody Zuschlag Date: Mon, 13 Nov 2023 11:00:34 +0100 Subject: [PATCH] rename github workflows --- .../{firebase-hosting-merge.yml => ci-cd.yml} | 2 +- .github/workflows/playwright.yml | 43 ------------------- 2 files changed, 1 insertion(+), 44 deletions(-) rename .github/workflows/{firebase-hosting-merge.yml => ci-cd.yml} (98%) delete mode 100644 .github/workflows/playwright.yml diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/ci-cd.yml similarity index 98% rename from .github/workflows/firebase-hosting-merge.yml rename to .github/workflows/ci-cd.yml index 4ea3e26..41650af 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/ci-cd.yml @@ -1,7 +1,7 @@ # This file was auto-generated by the Firebase CLI # https://github.com/firebase/firebase-tools -name: Deploy to Firebase Hosting on merge +name: CI/CD on: push # Cancel any previous CI runs for this branch or PR diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml deleted file mode 100644 index 6b5903c..0000000 --- a/.github/workflows/playwright.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Playwright Tests -on: - push: - branches: [ main, master, e2e ] - pull_request: - branches: [ main, master, e2e ] -jobs: - test: - timeout-minutes: 60 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node.js environment - uses: actions/setup-node@v3 - with: - node-version-file: .nvmrc - cache: "pnpm" - check-latest: true - - - name: Output debugging info - run: node -v && npm -v && pnpm -v - - - name: Install dependencies - run: pnpm install - - - name: Install Playwright Browsers - run: pnpm exec playwright install --with-deps - - - name: Run Playwright tests - run: pnpm run test:e2e - - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30