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:
13
13
name : Baseline Tests
14
14
runs-on : ubuntu-latest
15
15
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
22
22
23
23
steps :
24
24
- uses : actions/checkout@v3
25
25
- 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/*'
36
28
37
29
- name : Install Packages
38
30
run : npm install
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '3'
2
2
3
3
services :
4
4
openldap :
5
- image : docker.pkg.github.com /ldapjs/docker-test-openldap/openldap:latest
5
+ image : ghcr.io /ldapjs/docker-test-openldap/openldap:latest
6
6
ports :
7
7
- 389:389
8
8
- 636:636
Original file line number Diff line number Diff line change 40
40
"tap" : " 15.2.3"
41
41
},
42
42
"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'" ,
49
49
"test:integration:local" : " docker-compose up -d && npm run test:integration && docker-compose down" ,
50
50
"lint" : " eslint . --fix" ,
51
51
"lint:ci" : " eslint ." ,
You can’t perform that action at this time.
0 commit comments