fix: resolve conflict with bin
when running pnpm install
#181
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '**' | |
- '!readme.md' | |
- '!docs/**' | |
- '!packages/**/package.json' | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
if: ${{ !startsWith(github.event.head_commit.message, 'release:') }} | |
runs-on: ${{ matrix.os }} | |
env: | |
DEBUG: 'preset:*' | |
strategy: | |
matrix: | |
node-version: [18.x] | |
os: [ubuntu-latest] | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8.7.1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: https://registry.npmjs.org/ | |
cache: 'pnpm' | |
- run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
- name: Build | |
run: pnpm run build | |
- name: Test | |
run: | | |
pnpm tsc --noEmit | |
pnpm run test |