Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(documentation): vuejs docs #19

Merged
merged 6 commits into from
Apr 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www/*
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ module.exports = {
"no-inline-comments": "warn",
"quotes": ["error", "single"]
},
"ignorePatterns": ["**/*.js", "**/tests/*", "**/dist/*"]
"ignorePatterns": ["**/*.js", "**/tests/*", "**/dist/*", "**/www/*"]
};
27 changes: 27 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Documentation

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: 14.x

- name: Build
run: |
cd www
npm ci
NODE_ENV=production npm run build

- name: Deploy
if: ${{ github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./www/dist
21 changes: 0 additions & 21 deletions .github/workflows/gh-page.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/jekyll.yml

This file was deleted.

10 changes: 9 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bradennapier/eslint-plus-action@v3.4.2
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: 14.x
- name: Linter
run: |
rm -rf www
npm ci
npm run lint
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ coverage:
precision: 2
round: down
range: "70...100"

ignore:
- "www/*"
38 changes: 0 additions & 38 deletions docs/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions docs/Gemfile

This file was deleted.

Loading