File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 11
11
uses : Brightspace/third-party-actions@actions/setup-node
12
12
with :
13
13
node-version-file : .nvmrc
14
+ - name : Setup phantomjs
15
+ run : >
16
+ sudo apt-get update
17
+ sudo apt-get install build-essential chrpath libssl-dev libxft-dev -y
18
+ sudo apt-get install libfreetype6 libfreetype6-dev -y
19
+ sudo apt-get install libfontconfig1 libfontconfig1-dev -y
20
+ cd ~
21
+ export PHANTOM_JS="phantomjs-2.1.1-linux-x86_64"
22
+ wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/$PHANTOM_JS.tar.bz2
23
+ sudo tar xvjf $PHANTOM_JS.tar.bz2
24
+ sudo mv $PHANTOM_JS /usr/local/share
25
+ sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
14
26
- name : Install dependencies
15
27
run : npm install
16
28
- name : Lint and Test
Original file line number Diff line number Diff line change 46
46
"karma-phantomjs-launcher" : " ^0.2.1" ,
47
47
"lcov-result-merger" : " ^1.0.2" ,
48
48
"mkdirp" : " ^0.5.1" ,
49
- "phantomjs-prebuilt" : " ^2.1.8" ,
50
49
"phantomjs-polyfill" : " 0.0.1" ,
51
50
"react-addons-test-utils" : " ^15.3.2" ,
52
51
"rimraf" : " ^2.4.3" ,
You can’t perform that action at this time.
0 commit comments