Skip to content

fix: catch the error of failed resource loading #29

fix: catch the error of failed resource loading

fix: catch the error of failed resource loading #29

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
run: corepack enable
- uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run linter
run: pnpm run lint
- name: Run type linter
run: pnpm run lint:tsc
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
run: corepack enable
- uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build