Skip to content

Commit 359f824

Browse files
committed
Add rabbitmq to github actions
1 parent eb4cf5c commit 359f824

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [12.x, 14.x]
11+
node-version: [12.x, 15.x]
1212
mongodb-version: [4.0, 4.2]
1313
elasticsearch-version: ['7.9.3']
14+
rabbitmq-version: ['3.8.2-management-alpine']
1415

1516
steps:
1617
- uses: actions/checkout@v1
@@ -37,11 +38,19 @@ jobs:
3738
host node port: 9300
3839
node port: 9300
3940
discovery type: 'single-node'
40-
- name: npm install, build, and test
41+
- name: npm install
4142
run: |
4243
npm install
44+
env:
45+
CI: true
46+
- name: npm run build
47+
run: |
4348
npm run build --if-present
4449
npm run lint
50+
env:
51+
CI: true
52+
- name: npm test
53+
run: |
4554
npm test
4655
env:
4756
CI: true

0 commit comments

Comments
 (0)