62 lines (45 loc) · 1.36 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: ci
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: NPM install
uses: bahmutov/npm-install@v1
- name: Run tests 🧪
run: npm test
- name: Run demo 1 📊
run: npm run demo
- name: Run demo 2 📊
run: npm run demo2
- name: Run demo 3 📊
run: npm run demo3
- name: Run demo 4 📊
run: npm run demo4
- name: Run demo 5 📊
run: npm run demo5
- name: Run demo 6 📊
run: npm run demo6
- name: Run demo 7 📊
run: npm run demo7
# hmm why are some demos skipped?
- name: Run demo 11 📊
run: npm run demo11
- name: Run demo 12 📊
run: npm run demo12
- name: Run demo 9 📊
run: START_SERVER_AND_TEST_INSECURE=1 npm run demo9
- name: Run demo cross env 📊
run: npm run demo-cross-env
- name: Run demo commands 📊
run: npm run demo-commands
- name: Run demo multiple 📊
run: npm run demo-multiple
- name: Semantic Release 🚀
if: github.ref == 'refs/heads/master'
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}