From 14e5054aaa285cf694c265cd0502acd06847b5f4 Mon Sep 17 00:00:00 2001 From: Matt Ferraro Date: Sun, 24 Mar 2024 22:41:56 -0400 Subject: [PATCH] further refinements to github actions --- .github/workflows/e2e-tests.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 61bfb06f..60e044d4 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -3,14 +3,18 @@ name: e2e Tests on: deployment_status: jobs: - run-e2es: + run-e2e-tests: if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Install dependencies - run: npm ci && npx playwright install --with-deps - - name: Run tests - run: npx playwright test - env: - BASE_URL: ${{ github.event.deployment_status.environment_url }} + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}."