-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (42 loc) · 1.19 KB
/
ci.yml
File metadata and controls
49 lines (42 loc) · 1.19 KB
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
name: Test, Build and Deploy Docs
on:
push:
branches:
- master
pull_request:
branches:
- "!master"
- "dev**"
jobs:
build-and-deploy:
name: Test and Deploy Docs
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@master
- name: Test
run: |
npm ci
# npm run build --if-present
# npm run deploy
npm run test
npm run docs:build '/awesome-javascript-code-implementation/'
# npm run changelog
# - name: Coveralls Parallel
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.ACCESS_TOKEN }}
# parallel: true
# path-to-lcov: ./coverage/lcov.info
# - name: Coveralls Finished
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.ACCESS_TOKEN }}
# parallel-finished: true
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
branch: gh-pages
folder: docs/.vuepress/dist
build_script: npm run deploy