Skip to content

Commit

Permalink
Use Github Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
RillingDev committed Jun 5, 2021
1 parent c2da75d commit e0939a9
Show file tree
Hide file tree
Showing 14 changed files with 58 additions and 15,282 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docs

on:
push:
branches: [ master ]

jobs:
docs:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x ]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: gh-pages
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests

on:
push:
branches: [ development, master ]
pull_request:
branches: [ development ]

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 14.x, 16.x ]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*.esproj
*.sublime-project
*.sublime-workspace
*.iml

# Vendor Files
node_modules/
Expand All @@ -34,3 +35,4 @@ tsconfig.*.tsbuildinfo

# Build Output files
dist/
docs/

0 comments on commit e0939a9

Please sign in to comment.