Skip to content

Fix linter

Fix linter #4

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install
run: npm install
- name: Type check
run: npm run type
- name: Lint
run: npm run lint
- name: Build
run: npm run pages
- name: Upload
uses: actions/upload-pages-artifact@v2
with:
path: './dist'
- name: Deploy
id: deployment
uses: actions/deploy-pages@v2