Skip to content

Commit

Permalink
Rename workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
luin authored and jhchen committed Nov 15, 2022
1 parent c628de6 commit 773a553
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/e2e.yml → .github/workflows/_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,3 @@ jobs:
npm start &
sleep 120
npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/test.yml → .github/workflows/_unit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Unit Tests
on:
workflow_call:

jobs:
test:
runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ concurrency:
cancel-in-progress: true

jobs:
test:
uses: ./.github/workflows/test.yml
unit:
uses: ./.github/workflows/_unit.yml
e2e:
uses: ./.github/workflows/_e2e.yml
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [develop]

jobs:
test:
uses: ./.github/workflows/test.yml
unit:
uses: ./.github/workflows/_unit.yml
e2e:
uses: ./.github/workflows/e2e.yml
uses: ./.github/workflows/_e2e.yml
File renamed without changes.

0 comments on commit 773a553

Please sign in to comment.