Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

docs: readme

docs: readme #28

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- 'playground/**'
- 'media/**'
- 'examples/**'
pull_request:
branches:
- main
paths-ignore:
- 'playground/**'
- 'media/**'
- 'examples/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm
- name: Install
run: pnpm i
- name: Lint
run: pnpm run lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm
- name: Install
run: pnpm i
- name: Build
run: pnpm run build
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
node_version: [14.x, 16.x]
os: [ubuntu-latest] # , macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
- name: Install
run: pnpm i
- name: Test
run: pnpm run test