Skip to content

refactor: simplify cjs/esm build, add initial testing #75

refactor: simplify cjs/esm build, add initial testing

refactor: simplify cjs/esm build, add initial testing #75

Workflow file for this run

name: Pull Request
on: pull_request
jobs:
check:
name: 'Checks'
timeout-minutes: 30
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-checks
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: 'Install NPM Dependencies'
run: 'pnpm install --frozen-lockfile --child-concurrency=10'
- name: 'Check for Errors'
run: 'pnpm check'
- name: 'Check the build'
run: 'pnpm build'
- name: 'Run Tests'
run: 'pnpm test'