Skip to content

Commit

Permalink
ci: expand checks to include prettier and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrem committed Jan 12, 2024
1 parent 4ee6b47 commit 9993b24
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/playwright.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,25 @@ on:
pull_request:
branches: [main]
jobs:
test:
code_checks:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install dependencies
run: yarn
- name: Install Playwright Browsers

- name: Prettier
run: npm run prettier

- name: ESLint
run: npm run lint

- name: Install Playwright browsers
run: yarn playwright:install
- name: Run Playwright tests
run: yarn playwright:test
Expand Down

0 comments on commit 9993b24

Please sign in to comment.