Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@
name: ci-test

# Trigger the workflow when:
on:
# A push occurs to one of the matched branches.
push:
branches: [master]
# Or when a pull request event occurs for a pull request against one of the
# matched branches.
pull_request:
branches: [master]
# on:
# A push occurs to one of the matched branches.
# push:
# branches: [master]
# Or when a pull request event occurs for a pull request against one of the
# matched branches.
# pull_request:
# branches: [master]

on: deployment_status

jobs:
test:
# NOTE: This name appears in GitHub's Checks API.
name: test
runs-on: ubuntu-latest
if: github.event.deployment_status.state == 'success'
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -24,6 +27,8 @@ jobs:
with:
node-version: '20.x'
cache: yarn
- name: Test deployment status trigger
run: echo "${{ github.event.deployment_status }}"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install Playwright
Expand Down