Skip to content

Commit

Permalink
Remove chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw committed Apr 1, 2024
1 parent 1e9006d commit dc32b5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,8 @@ steps:
image: satantime/puppeteer-node:21-bookworm-slim
commands:
- ln -fs .env.development .env
- apt-get update && apt-get install -y chromium
- npm ci
- npm test
environment:
PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium
CHROME_PATH: /usr/bin/chromium

- name: Test Bash
image: koalaman/shellcheck-alpine:stable
Expand Down Expand Up @@ -100,12 +96,8 @@ steps:
image: satantime/puppeteer-node:21-bookworm-slim
commands:
- ln -fs .env.development .env
- apt-get update && apt-get install -y chromium
- npm ci
- node baseflask/refresh-varsnap.js
environment:
PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium
CHROME_PATH: /usr/bin/chromium
trigger:
cron:
- refresh-varsnap-production-snaps
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:dev": "webpack --mode=development",
"build:prod": "webpack --mode=production --node-env=production",
"watch": "webpack --watch",
"wdio": "wdio run ./wdio.conf.js"
"wdio": "mkdir .coverage && wdio run ./wdio.conf.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit dc32b5f

Please sign in to comment.