Skip to content

Commit f2893a5

Browse files
committed
ci: expand checks to include prettier and eslint
1 parent 4ee6b47 commit f2893a5

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/playwright.yml renamed to .github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
1-
name: Playwright Tests
1+
name: CI Checks
22
on:
33
push:
44
branches: [main]
55
pull_request:
66
branches: [main]
77
jobs:
8-
test:
8+
code_checks:
99
timeout-minutes: 10
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
1515
node-version: 18
16+
1617
- name: Install dependencies
1718
run: yarn
18-
- name: Install Playwright Browsers
19+
20+
- name: Prettier
21+
run: npm run prettier
22+
23+
- name: ESLint
24+
run: npm run lint
25+
26+
- name: Install Playwright browsers
1927
run: yarn playwright:install
2028
- name: Run Playwright tests
2129
run: yarn playwright:test

0 commit comments

Comments
 (0)