Skip to content

fix(ssr): prevent bug when $refs.container not found children (#127) #166

fix(ssr): prevent bug when $refs.container not found children (#127)

fix(ssr): prevent bug when $refs.container not found children (#127) #166

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
paths:
- 'src/**'
- 'dev/**'
- 'build/**'
- '*.json'
- '*.js'
- '*.ts'
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
branches: [ main ]
paths:
- 'src/**'
- 'dev/**'
- 'build/**'
- '*.json'
- '*.js'
- '*.ts'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14'
- uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-
- run: npm ci
- run: npm run build
- uses: andresz1/size-limit-action@v1
if: github.event_name == 'pull_request'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_step: install
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14'
- uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-
- run: npm ci
- run: npm run lint