mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 00:46:29 +00:00
refactor(lint): globally lint sources with prettier
This commit is contained in:
parent
009da851b6
commit
a2a68df92e
30
.github/workflows/deploy.yml
vendored
30
.github/workflows/deploy.yml
vendored
@ -4,19 +4,19 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
|
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Perform check out
|
- name: Perform check out
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ⚒️ Install dependencies and build/compile the site # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
|
- name: ⚒️ Install dependencies and build/compile the site # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
|
||||||
run: |
|
run: |
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
yarn lint
|
yarn lint
|
||||||
yarn docs:build
|
yarn docs:build
|
||||||
- name: 🪗 Deploy to GitHub pages
|
- name: 🪗 Deploy to GitHub pages
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
folder: dist # The folder the action should deploy.
|
folder: dist # The folder the action should deploy.
|
||||||
|
|||||||
@ -1,2 +1,3 @@
|
|||||||
# Toshiki's Notebook
|
# Toshiki's Notebook
|
||||||
|
|
||||||
> Toshiki's web notebook built upon Vitepress and deployed via Vercel!"
|
> Toshiki's web notebook built upon Vitepress and deployed via Vercel!"
|
||||||
@ -1,2 +1,2 @@
|
|||||||
@import './custom.scss';
|
@import './custom.scss';
|
||||||
@import './vars.scss'
|
@import './vars.scss';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user