Skip to content

Commit 9993b24

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

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,25 @@ on:
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)