Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,4 @@ jobs:
- name: install dependencies
run: yarn
- name: test
run: yarn test
before_script:
- "npx playwright install chromium" # Deal with https://github.com/microsoft/playwright/issues/5767
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
cache:
directories:
- "travis_phantomjs"
before_install:
- "phantomjs --version"
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
- "phantomjs --version"
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
run: yarn test
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"broccoli-string-replace": "^0.1.1",
"broccoli-typescript-compiler": "^4.1.0",
"broccoli-uglify-sourcemap": "^1.4.2",
"bundled-phantomjs-prebuilt": "^2.1.8-0",
"chai": "^3.5.0",
"chokidar": "^1.6.0",
"express": "^4.13.4",
Expand Down Expand Up @@ -85,6 +86,10 @@
"pre-commit": "lint-staged"
}
},
"volta": {
"node": "16.18.0",
"yarn": "1.22.10"
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write",
Expand Down
Loading