Skip to content

Commit

Permalink
Test action fix (#6)
Browse files Browse the repository at this point in the history
* Test fix

* Relesae only on merged
  • Loading branch information
prokawsar authored Aug 27, 2024
1 parent 2fdc338 commit bdb7f0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Playwright Tests

on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
test-app:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand All @@ -14,7 +15,7 @@ jobs:
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
run: npm i
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: App release

on:
pull_request:
pull_request_target:
branches: ['master']

jobs:
create-release-on-push:
if_merged:
if: ${{ github.event.pull_request.merged }}

runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit bdb7f0f

Please sign in to comment.