Skip to content

Commit ee9e08d

Browse files
author
“Kirti
committed
workflow added
1 parent 19d63df commit ee9e08d

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/nodejs-ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: '18'
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Run tests
26+
run: npm test -- --passWithNoTests --watchAll=false
27+
28+
- name: Build project
29+
run: npm run build

0 commit comments

Comments
 (0)