Skip to content

fix: Farm resolve moduleType error and return sourcemap value error #2351

fix: Farm resolve moduleType error and return sourcemap value error

fix: Farm resolve moduleType error and return sourcemap value error #2351

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- run: pnpm install
- run: pnpm run lint
- run: pnpm run typecheck
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20, 22]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Enable Corepack
run: corepack enable
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install
run: pnpm install
- name: Build
run: pnpm run build
- name: Test
run: pnpm run test