Skip to content

Update dependency @types/katex to v0.16.2 #1129

Update dependency @types/katex to v0.16.2

Update dependency @types/katex to v0.16.2 #1129

Workflow file for this run

name: Main
on:
push:
branches: [main]
pull_request: {}
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '17'
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Type Check
run: npm run typecheck
deploy:
needs: [lint]
if: github.ref_name == 'main'
runs-on: ubuntu-latest
name: Deploy to GitHub Pages
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '17'
- uses: actions/cache@v3
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: out