Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

Commit a6f5d5d

Browse files
committed
Use Github Actions.
1 parent bcba7c0 commit a6f5d5d

File tree

12 files changed

+58
-11282
lines changed

12 files changed

+58
-11282
lines changed

.github/workflows/docs.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
docs:
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [ 16.x ]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm ci
23+
- run: npm run docs
24+
- name: Deploy
25+
uses: peaceiris/actions-gh-pages@v3
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
publish_dir: ./docs
29+
publish_branch: gh-pages

.github/workflows/tests.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [ development, master ]
6+
pull_request:
7+
branches: [ development ]
8+
9+
jobs:
10+
test:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [ 14.x, 16.x ]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- run: npm ci
25+
- run: npm run lint
26+
- run: npm run build
27+
- run: npm run test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*.esproj
2020
*.sublime-project
2121
*.sublime-workspace
22+
*.iml
2223

2324
# Vendor Files
2425
node_modules/
@@ -34,3 +35,4 @@ tsconfig.*.tsbuildinfo
3435

3536
# Build Output files
3637
dist/
38+
docs/

0 commit comments

Comments
 (0)