Tests rename and able actions

This commit is contained in:
Nantawat Sukrisunt 2024-10-21 21:01:12 +07:00
parent 070077f7f3
commit b65b735bc4
5 changed files with 27 additions and 27 deletions

View File

@ -1,27 +1,27 @@
# name: Playwright Tests name: Playwright Tests
# on: on:
# push: push:
# branches: [ main, master ] branches: [ main, master ]
# pull_request: pull_request:
# branches: [ main, master ] branches: [ main, master ]
# jobs: jobs:
# test: test:
# timeout-minutes: 60 timeout-minutes: 60
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v4 - uses: actions/checkout@v4
# - uses: actions/setup-node@v4 - uses: actions/setup-node@v4
# with: with:
# node-version: lts/* node-version: lts/*
# - name: Install dependencies - name: Install dependencies
# run: npm ci run: npm ci
# - name: Install Playwright Browsers - name: Install Playwright Browsers
# run: npx playwright install --with-deps run: npx playwright install --with-deps
# - name: Run Playwright tests - name: Run Playwright tests
# run: npx playwright test run: npx playwright test
# - uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
# if: ${{ !cancelled() }} if: ${{ !cancelled() }}
# with: with:
# name: playwright-report name: playwright-report
# path: playwright-report/ path: playwright-report/
# retention-days: 30 retention-days: 30