-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
76 additions
and
11 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,27 @@ | ||
name: main | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
# Validates links in the docs | ||
validate: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | ||
|
||
- name: Install NodeJS | ||
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Run validate | ||
run: yarn validate |
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,22 +1,23 @@ | ||
{ | ||
"name": "passwordless-docs", | ||
"version": "0.0.1", | ||
"license": "MIT", | ||
"description": "Documentation for Passwordless", | ||
"main": "index.js", | ||
"authors": { | ||
"name": "Anders Åberg", | ||
"email": "anders@passwordless.dev" | ||
}, | ||
"repository": "/passwordless-docs", | ||
"scripts": { | ||
"dev": "vuepress dev src", | ||
"build": "vuepress build src" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"vuepress": "^1.5.3" | ||
"build": "vuepress build src", | ||
"validate": "vuepress check-md src" | ||
}, | ||
"dependencies": { | ||
"vuepress-plugin-code-switcher": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"vuepress": "^1.5.3", | ||
"vuepress-plugin-check-md": "^0.0.3" | ||
} | ||
} | ||
} |
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
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