Skip to content

Commit d4410c7

Browse files
committed
change Makefile
1 parent 3bdb0aa commit d4410c7

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/ci_app.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# file: .github/workflows/my_first_workflow.yml
2+
name: CI - APP
3+
# on – определяет события, которые запускают воркфлоу
4+
on: push
5+
jobs:
6+
# build – произвольно выбранное имя задания
7+
# их может быть больше одного
8+
build:
9+
# операционная система для работы воркфлоу
10+
runs-on: ubuntu-latest
11+
steps:
12+
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: '14'
20+
21+
- name: Install dependencies and build
22+
run: make setup
23+
24+
- name: Run linter
25+
run: make lint
26+
27+
- name: Run tests
28+
run: make test

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
setup: install build
1+
setup:
2+
install build
23

34
install:
45
npm install

0 commit comments

Comments
 (0)