Skip to content

feat(vueTemplate): add try catch on render function to avoid compiler error #97

feat(vueTemplate): add try catch on render function to avoid compiler error

feat(vueTemplate): add try catch on render function to avoid compiler error #97

Workflow file for this run

name: check
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
check:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['18', '20']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
- name: Docs build
run: pnpm docs:build
check-result:
if: ${{ always() }}
name: check result
runs-on: ubuntu-latest
needs: [check]
steps:
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
run: exit 1