-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.12 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
33
34
35
36
37
38
39
40
41
42
name: ci
on: [push]
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Repository lampy
uses: actions/checkout@v4
with:
submodules: recursive
ref: 'v2.0'
repository: koromerzhin/lampy
path: lampy
- name: Install npm dependencies
run: npm install
- name: 'set .env'
run: 'cp .env.example .env'
- name: 'SET BDD'
run: npm run bdd:mariadb
- name: 'Launch Lampy'
run: cd lampy && npm run exec
- name: 'Image pull'
run: npm run docker:getpull-image
- name: 'create apps'
run: npm run create:apps
- name: 'Build containers'
run: npm run docker:deploy
- name: 'Waiting'
run: npm run docker:waiting
- name: linter readme.md
run: npm run lint:markdown
- name: Cypress run
uses: cypress-io/github-action@v5
- name: Archive screenshots
uses: actions/upload-artifact@v3
with:
name: screenshot
path: cypress/