Skip to content

Commit

Permalink
Merge pull request #2 from Adameddy26/Adameddy26-patch-1
Browse files Browse the repository at this point in the history
Update firebase-hosting-release.yml
  • Loading branch information
Adameddy26 authored Jun 5, 2024
2 parents 962b8d2 + 2a2e8b8 commit 9bb7d0a
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/firebase-hosting-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ name: Deploy to Firebase Hosting on release
- '*' # Push events to every tag not containing / Refer https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#patterns-to-match-branches-and-tags
jobs:
run-playwright-automation:
runs-on: ubuntu-latest
needs: deploy-to-firebase-hosting
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install dependencies
run: npm install
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Build
run: npm run build

- name: Run Playwright automation script
run: npm run test
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install dependencies
run: npm install

- name: Generate .env file
run: cp .env.example .env

- name: Build
run: npm run build

- name: Run Playwright automation script
run: npm run test

0 comments on commit 9bb7d0a

Please sign in to comment.