-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from mihaiconstantin/feat/time-tracking
- Loading branch information
Showing
76 changed files
with
9,233 additions
and
2,929 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Workflow name. | ||
name: docs | ||
|
||
# Events. | ||
on: | ||
# Trigger on push to branch. | ||
push: | ||
branches: [main] | ||
# Trigger manually via the GitHub UI. | ||
workflow_dispatch: | ||
|
||
# Jobs. | ||
jobs: | ||
docs: | ||
# Virtual machine type. | ||
runs-on: ubuntu-latest | ||
|
||
# Job steps. | ||
steps: | ||
# Fetch all commits to get all `.git` info logs. | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# Install `Node.js`. | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14' | ||
|
||
# Cache `node_modules`. | ||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
id: yarn-cache | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
# Install `Node.js` dependencies if the cache did not hit. | ||
- name: Install dependencies | ||
if: steps.yarn-cache.outputs.cache-hit != 'true' | ||
run: yarn --frozen-lockfile | ||
|
||
# Run build script. | ||
- name: Build VuePress site | ||
run: yarn docs:build | ||
|
||
# Deploy website. | ||
# https://github.com/crazy-max/ghaction-github-pages. | ||
- name: Deploy to GitHub Pages | ||
uses: crazy-max/ghaction-github-pages@v2 | ||
with: | ||
# Deploy to `gh-pages` branch. | ||
target_branch: gh-pages | ||
# Deploy the default output dir of VuePress. | ||
build_dir: docs/.vuepress/dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
node_modules | ||
*.vsix | ||
debug/ | ||
debug | ||
out | ||
dist | ||
.vscode-test/ | ||
.vscode-test | ||
.DS_Store | ||
assets/video | ||
.temp | ||
.cache | ||
**/temp_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
.vscode/** | ||
.vscode-test/** | ||
src/** | ||
# Configuration files. | ||
.github/ | ||
.vscode/ | ||
.gitignore | ||
.yarnrc | ||
vsc-extension-quickstart.md | ||
**/tsconfig.json | ||
**/.eslintrc.json | ||
**/*.map | ||
tsconfig.json | ||
.eslintrc.json | ||
package-json.lock | ||
webpack.config.js | ||
CNAME | ||
|
||
# Source files. | ||
node_modules/** | ||
src/ | ||
**/*.ts | ||
assets/video/ | ||
|
||
# Documentation files. | ||
docs/ | ||
|
||
# Debug files. | ||
debug/ | ||
|
||
# Development files. | ||
.vscode-test/ | ||
out/ | ||
**/*.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.