Skip to content

feat: add support for package bin field #63

feat: add support for package bin field

feat: add support for package bin field #63

Workflow file for this run

name: Check, Test, Build
on:
push:
branches:
- main
- $default-branch
pull_request:
branches:
- main
- $default-branch
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 16.x
- 18.x
- 20.x
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
# TODO: Fix commit linting
# - name: Check Commits
# if: github.event_name == 'pull_request'
# run: pnpm i conventional-changelog-conventionalcommits
# - run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
- name: Check Formatting
run: pnpm run prettier:check
- name: Lint Changes
run: pnpm run lint
- name: Check Types
run: pnpm run typecheck
- name: Run Tests
run: pnpm run test:ci
- name: Run Build
run: pnpm run prerelease