This repository was archived by the owner on May 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-23
lines changed
Expand file tree Collapse file tree 3 files changed +15
-23
lines changed Original file line number Diff line number Diff line change @@ -13,26 +13,18 @@ jobs:
1313 name : Baseline Tests
1414 runs-on : ubuntu-latest
1515
16- # services:
17- # openldap:
18- # image: docker.pkg.github.com /ldapjs/docker-test-openldap/openldap:1.0
19- # ports:
20- # - 389:389
21- # - 636:636
16+ services :
17+ openldap :
18+ image : ghcr.io /ldapjs/docker-test-openldap/openldap:latest
19+ ports :
20+ - 389:389
21+ - 636:636
2222
2323 steps :
2424 - uses : actions/checkout@v3
2525 - uses : actions/setup-node@v3
26-
27- # Hack way to start service since GitHub doesn't integrate with its own services
28- - name : Docker login
29- run : docker login docker.pkg.github.com -u ${GITHUB_ACTOR} -p ${GITHUB_TOKEN}
30- env :
31- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
32- - name : Pull Docker image
33- run : docker pull "docker.pkg.github.com/ldapjs/docker-test-openldap/openldap:latest"
34- - name : Start OpenLDAP service
35- run : docker run -it -d --name openldap -p 389:389 -p 636:636 docker.pkg.github.com/ldapjs/docker-test-openldap/openldap:latest
26+ with :
27+ node-version : ' lts/*'
3628
3729 - name : Install Packages
3830 run : npm install
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '3'
22
33services :
44 openldap :
5- image : docker.pkg.github.com /ldapjs/docker-test-openldap/openldap:latest
5+ image : ghcr.io /ldapjs/docker-test-openldap/openldap:latest
66 ports :
77 - 389:389
88 - 636:636
Original file line number Diff line number Diff line change 4040 "tap" : " 15.2.3"
4141 },
4242 "scripts" : {
43- "test" : " tap --no-cov" ,
44- "test:ci" : " tap --coverage-report=lcovonly" ,
45- "test:cov" : " tap" ,
46- "test:cov:html" : " tap --coverage-report=html" ,
47- "test:watch" : " tap -n -w --no-coverage-report" ,
48- "test:integration" : " tap --no-cov 'test-integration/**/*.test.js'" ,
43+ "test" : " tap --no-cov -R terse " ,
44+ "test:ci" : " tap --coverage-report=lcovonly -R terse " ,
45+ "test:cov" : " tap -R terse " ,
46+ "test:cov:html" : " tap --coverage-report=html -R terse " ,
47+ "test:watch" : " tap -n -w --no-coverage-report -R terse " ,
48+ "test:integration" : " tap --no-cov -R terse 'test-integration/**/*.test.js'" ,
4949 "test:integration:local" : " docker-compose up -d && npm run test:integration && docker-compose down" ,
5050 "lint" : " eslint . --fix" ,
5151 "lint:ci" : " eslint ." ,
You can’t perform that action at this time.
0 commit comments