Skip to content

Commit e27fefa

Browse files
author
Nejc
authored
fix: github actions yml
1 parent 1381726 commit e27fefa

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/node.js.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,25 @@ jobs:
1010
test:
1111
name: Running tests...
1212
runs-on: ubuntu-latest
13-
13+
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Use node.js ${{ matrix.node-version }}
1717
uses: actions/setup-node@v1
1818
with:
1919
node-version: ${{ matrix.node-version }}
20-
- name: Installing
21-
- run: npm install
22-
- name: Test
23-
- run: npm run validate
20+
21+
- name: Install and test
22+
run: |
23+
npm install
24+
npm run validate
25+
26+
- name: Building docs
27+
run: npm run docz:build
28+
- name: Deploy 🚀
29+
uses: JamesIves/github-pages-deploy-action@3.5.9
30+
with:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
BRANCH: gh-pages
33+
FOLDER: .docz/dist
34+

0 commit comments

Comments
 (0)