Skip to content

Commit d888128

Browse files
committed
Update matching-service.yml
1 parent 966c88b commit d888128

File tree

2 files changed

+29
-31
lines changed

2 files changed

+29
-31
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
working-directory: matching-service
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Use Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 16
25+
cache: 'npm'
26+
- run: cd matching-service
27+
- run: npm ci
28+
- run: npm test
29+
- run: npm run start

.github/workflows/nodejs.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)