Skip to content

Commit

Permalink
Merge 66ce3cf into 2eb8c4c
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 13, 2020
2 parents 2eb8c4c + 66ce3cf commit 975dc24
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/GHPages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: GHPages

on:
push:
branches: [master]

jobs:
deploy-docs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Install Packages
run: npm install
- name: Build docs
run: npm run docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vuepress/dist
force_orphan: true
1 change: 1 addition & 0 deletions docs/.vuepress/components/rules/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint node/no-unsupported-features/es-syntax: off -- not node */
import * as coreRules from "../../../../node_modules/eslint4b/dist/core-rules"
// eslint-disable-next-line node/no-missing-import -- no build
import plugin from "../../../../"

const CATEGORY_TITLES = {
Expand Down
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const path = require("path")
// eslint-disable-next-line node/no-missing-require -- no build
const { rules } = require("../../lib/utils/rules")

function ruleToLink({
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
"predocs:watch": "npm run build:ts",
"docs:watch": "vuepress dev --debug docs",
"docs:build": "npm run build:ts && vuepress build docs --no-cache",
"docs-deploysetup": "npm run docs:build && npm run docs-deploysetup:clean && npm run docs-deploysetup:copy",
"docs-deploysetup:clean": "rimraf docs/assets",
"docs-deploysetup:copy": "npx cpx \"docs/\\.vuepress/dist/**\" \"docs\" -u",
"preversion": "npm test && npm run update && git add .",
"version": "npm run eslint-fix && git add .",
"update-fixtures": "ts-node ./tools/update-fixtures.ts && npm run eslint-fix"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"src/**/*",
"tests/src/**/*",
"tests/utils/**/*",
"tools/**/*",
"tools/**/*"
// "typings/**/*"
],
"exclude": ["lib/**/*"]
Expand Down

0 comments on commit 975dc24

Please sign in to comment.