@@ -1,4 +1,4 @@
|
||||
name: Node CI-CD 3 Test
|
||||
name: Node.js CI
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -15,30 +15,20 @@ jobs:
|
||||
|
||||
- name: Check Git
|
||||
shell: powershell
|
||||
run: |
|
||||
git --version
|
||||
run: git --version
|
||||
|
||||
- name: Check Node.js
|
||||
shell: powershell
|
||||
run: |
|
||||
node --version
|
||||
run: node --version
|
||||
|
||||
- name: Check npm
|
||||
shell: powershell
|
||||
run: |
|
||||
npm --version
|
||||
run: npm --version
|
||||
|
||||
- name: Install dependencies
|
||||
shell: powershell
|
||||
run: |
|
||||
npm ci
|
||||
run: npm ci
|
||||
|
||||
- name: Run tests
|
||||
- name: Check application
|
||||
shell: powershell
|
||||
run: |
|
||||
npm test
|
||||
|
||||
- name: Build application
|
||||
shell: powershell
|
||||
run: |
|
||||
npm run build
|
||||
run: node --check app.js
|
||||
|
||||
Reference in New Issue
Block a user