Skip to content

Commit df31be7

Browse files
committed
chore: set up playwright in ci action
1 parent e21ff5e commit df31be7

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/CI.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
paths:
6+
- ".github/workflows/ci.yml"
7+
- "package.json"
8+
- "gulpfile.js"
9+
- "build/**"
10+
- "src/**"
11+
- "tests/**"
12+
jobs:
13+
CI:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout branch
17+
uses: actions/checkout@v4
18+
19+
- name: Setup NodeJS
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 22
23+
24+
- name: Install
25+
run: npm ci --no-audit --no-fund
26+
27+
- name: Build scripts
28+
run: npx gulp scripts
29+
30+
- name: Install Playwright Deps
31+
run: npx -y playwright install --with-deps chromium
32+
33+
- name: Tests
34+
run: npm run test

0 commit comments

Comments
 (0)