This repository was archived by the owner on May 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Integration Suite
2+
3+ on : ['push']
4+
5+ concurrency :
6+ group : ${{ github.workflow }}-${{ github.ref }}
7+ cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
8+
9+ jobs :
10+ integrate :
11+ name : Integration
12+ runs-on : ubuntu-latest
13+ env :
14+ NPM_CONFIG_LOGLEVEL : warn
15+ WINSTON_CONSOLE_LEVEL : none
16+ EXPRESS_PORT : 1337
17+
18+ services :
19+ mongodb :
20+ image : mongo:3.7.9
21+ env :
22+ MONGO_INITDB_DATABASE : test
23+ ALLOW_EMPTY_PASSWORD : yes
24+ ports :
25+ - 27017:27017
26+ options : --health-cmd="mongo" --health-interval=10s --health-timeout=5s --health-retries=5
27+
28+ steps :
29+ - uses : actions/checkout@v3
30+
31+ - uses : actions/setup-node@v3
32+ with :
33+ node-version : " 14"
34+ cache : ' npm'
35+
36+ - name : Installing Dependencies
37+ run : npm ci
38+
39+ - name : Compiling Code
40+ run : npm run build
41+
42+ - name : Running Tests
43+ run : npm run cover-ci
44+
45+ - name : Linting Code
46+ run : npm run lint
47+
48+ - name : Semantic Release
49+ if : github.ref == 'refs/heads/master'
50+ run : npm run semantic-release
51+ env :
52+ GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments