build: output mjs #196
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: CI | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Set node version to 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install & Build | |
run: | | |
pnpm install | |
pnpm prebuild | |
pnpm build | |
- name: Test | |
run: | | |
pnpm typecheck | |
pnpm lint | |
pnpm test |