Skip to content

Commit 654ca58

Browse files
committed
ci(github): init Gthub actions
1 parent d356504 commit 654ca58

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# .github/workflows/main.yml
2+
# Copy/pasted from https://angular.io/guide/testing#configure-project-for-github-actions
3+
name: CI Nest.js app through Github Actions
4+
on: push
5+
jobs:
6+
unit-test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Use Node.js 16.x
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 16.x
14+
15+
- name: Setup
16+
run: npm ci
17+
18+
- name: Test
19+
run: npm test

0 commit comments

Comments
 (0)