Skip to content

implement content/text tokenizer #35

implement content/text tokenizer

implement content/text tokenizer #35

Workflow file for this run

name: CI-shared
on:
push:
paths:
- 'shared/**'
- '.github/workflows/CI.yml'
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./shared
strategy:
matrix:
node: ['14.x', '16.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up pnpm
uses: pnpm/[email protected]
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install deps and build
run: pnpm install
- name: Lint
run: pnpm run lint
- name: Test
run: pnpm run test --ci --coverage --maxWorkers=2
- name: Build
run: pnpm run build