File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+ build :
11+ name : Build
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Get sources
15+ uses : actions/checkout@v1
16+
17+ - name : Restore npm cache
18+ uses : actions/cache@v2
19+ with :
20+ path : ~/.npm
21+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
22+ restore-keys : |
23+ ${{ runner.os }}-node-
24+ - uses : actions/cache@v2
25+ with :
26+ path : node_modules
27+ key : ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
28+ restore-keys : |
29+ ${{ runner.os }}-node-modules-
30+ - name : Use Node.js 14
31+ uses : actions/setup-node@v2
32+ with :
33+ node-version : ' 14'
34+
35+ - name : Install dependencies
36+ run : npm install
37+
38+ - name : Build
39+ run : npm run build
40+
41+ - name : Test
42+ run : npm run test
43+ env :
44+ CI : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1919 alt="tag:?"
2020 src="https://img.shields.io/github/tag/chaijs/deep-eql.svg?style=flat-square "
2121 />
22- </a ><a href =" https://travis-ci.org /chaijs/deep-eql " >
22+ </a ><a href =" https://github.com /chaijs/deep-eql/actions " >
2323 <img
2424 alt="build:?"
25- src="https://img.shields.io/travis/ chaijs/deep-eql/master .svg?style=flat-square "
25+ src="https://github.com/ chaijs/deep-eql/workflows/Build/badge .svg "
2626 />
2727 </a ><a href =" https://coveralls.io/r/chaijs/deep-eql " >
2828 <img
Original file line number Diff line number Diff line change @@ -71,20 +71,17 @@ module.exports = function configureKarma(config) {
7171 } ) ;
7272
7373 if ( process . env . SAUCE_ACCESS_KEY && process . env . SAUCE_USERNAME ) {
74- var branch = process . env . TRAVIS_BRANCH || 'local' ;
74+ var branch = 'local' ;
7575 var build = 'localbuild' ;
76- if ( process . env . TRAVIS_JOB_NUMBER ) {
77- build = 'travis@' + process . env . TRAVIS_JOB_NUMBER ;
78- }
7976 config . reporters . push ( 'saucelabs' ) ;
8077 config . set ( {
8178 customLaunchers : sauceLabsBrowsers ,
8279 browsers : localBrowsers . concat ( Object . keys ( sauceLabsBrowsers ) ) ,
8380 sauceLabs : {
8481 testName : packageJson . name ,
85- tunnelIdentifier : process . env . TRAVIS_JOB_NUMBER || new Date ( ) . getTime ( ) ,
82+ tunnelIdentifier : new Date ( ) . getTime ( ) ,
8683 recordVideo : true ,
87- startConnect : ( 'TRAVIS' in process . env ) === false ,
84+ startConnect : true ,
8885 tags : [
8986 'typeDetect_' + packageJson . version ,
9087 process . env . SAUCE_USERNAME + '@' + branch ,
You can’t perform that action at this time.
0 commit comments