Skip to content

Commit 6ea5d27

Browse files
authored
Gitlab ci fix (#5)
* Update .gitlab-ci.yml * gitlab-ci fix
1 parent 3fa72b4 commit 6ea5d27

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: node:14.15.4
1+
image: buildkite/puppeteer:5.2.1
22
stages:
33
- test
44

@@ -11,7 +11,6 @@ variables:
1111
test:
1212
stage: test
1313
script:
14-
- sudo npm install -g puppeteer --unsafe-perm=true
15-
- npm install mocha-headless-chrome -g
14+
- npm install
1615
- if [ -z $API_KEY ]; then echo "Algorithmia API key not defined"; exit 1; fi
1716
- npm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "algorithmia-js client lib",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha-headless-chrome -f test/testRunner.html?key=\"$API_KEY\" -r nyan "
7+
"test": "mocha-headless-chrome -f test/testRunner.html?key=\"$API_KEY\" -r nyan -a no-sandbox"
88
},
99
"repository": {
1010
"type": "git",

0 commit comments

Comments
 (0)