-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci.yml
32 lines (29 loc) · 1.15 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# name: '▶️ CI/CD'
# on: [push, workflow_dispatch]
# jobs:
# lint-test:
# name: Check lint test
# if: ${{ !contains(github.ref, 'staging') && !contains(github.ref, 'master') }}
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# # - run: echo "🎨 Running Lint script" && cd api && npm install && npm run lint && echo "✅ hurray, application follows standard convention"
# - run: |
# echo "🎨 Running lint scripts"
# cd api
# npm install
# npm run lint
# echo "✅ hurray, application follows standard convention"
# unit-test:
# name: Check Unit test
# if: ${{ !contains(github.ref, 'staging') && !contains(github.ref, 'master') }}
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# # - run: echo "🎨 Running Lint script" && cd api && npm install && npm run lint && echo "✅ hurray, application follows standard convention"
# - run: |
# echo "🎨 Running automatic test scripts"
# cd api
# npm install
# npm run test
# echo "✅ hurray, application is bug free"