Skip to content

docs: Update benchmark with Papr v14 and node.js v18 #1415

docs: Update benchmark with Papr v14 and node.js v18

docs: Update benchmark with Papr v14 and node.js v18 #1415

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [16.x, 18.x, 20.x]
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- name: Use Node.js ${{ matrix.node }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: node -v
- run: pnpm install --frozen-lockfile
- run: pnpm test:build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: volta-cli/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
path: |
node_modules
key: deps-${{ hashFiles('package.json', 'pnpm-lock.yaml') }}
restore-keys: |
deps-
- run: pnpm install --frozen-lockfile
- run: pnpm lint && pnpm pretty:ci
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: volta-cli/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
path: |
node_modules
key: deps-${{ hashFiles('package.json', 'pnpm-lock.yaml') }}
restore-keys: |
deps-
- run: pnpm install --frozen-lockfile
- run: pnpm test
types:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: volta-cli/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
path: |
node_modules
key: deps-${{ hashFiles('package.json', 'pnpm-lock.yaml') }}
restore-keys: |
deps-
- run: pnpm install --frozen-lockfile
- run: pnpm test:types