feat: add dual cjs/esm exports to all public packages #648
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: Turbo build | |
on: | |
pull_request: | |
paths: | |
- "**.tsx?" | |
- "**.jsx?" | |
- "**.json" | |
- "**.sol" | |
- "**/package.json" | |
- "**/package-lock.json" | |
- "**/tsconfig.json" | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: "package.json" | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
run_install: true | |
- name: Cache for Turbo | |
uses: rharkor/[email protected] | |
- name: Build | |
run: pnpm build:ci |