Skip to content

Commit 734f6d8

Browse files
committed
chore: set up playwright in ci action
1 parent 6b2e6c2 commit 734f6d8

File tree

3 files changed

+13
-40
lines changed

3 files changed

+13
-40
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ name: CI
33
on:
44
push:
55
paths:
6-
- '.github/workflows/ci.yml'
7-
- 'package.json'
8-
- 'gulpfile.js'
9-
- 'build/**'
10-
- 'src/**'
11-
- 'tests/**'
12-
6+
- ".github/workflows/ci.yml"
7+
- "package.json"
8+
- "gulpfile.js"
9+
- "build/**"
10+
- "src/**"
11+
- "tests/**"
1312
jobs:
1413
CI:
1514
runs-on: ubuntu-latest
@@ -20,15 +19,19 @@ jobs:
2019
- name: Setup NodeJS
2120
uses: actions/setup-node@v4
2221
with:
23-
node-version: '22'
22+
node-version: 22
2423

2524
- name: Install
2625
run: npm ci --no-audit --no-fund
2726

27+
- name: Install Playwright
28+
run: npx -y [email protected] install --with-deps chromium
29+
2830
- name: Build scripts
2931
run: npx gulp scripts
3032

33+
- name: Install Playwright Deps
34+
run: npx -y playwright install --with-deps chromium
35+
3136
- name: Tests
3237
run: npm run test
33-
env:
34-
CHROME_BIN: /usr/bin/google-chrome

build/test-paths-core.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

gulpfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ var merge = require('merge2');
1313
var argv = require('yargs').argv;
1414

1515
var license = require('./build/gulp/license');
16-
var requireDir = require('require-dir');
1716

1817
const exec = require('child_process').exec;
1918
const terser = require('gulp-terser');

0 commit comments

Comments
 (0)