Repository navigation
feat: add v2 build override APIs #443
This file contains hidden or 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: Node.js CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - name: Load .env file | |
| uses: xom9ikk/dotenv@v2 | |
| with: | |
| mode: ci | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm lint | |
| # - run: pnpm ts-check need fixes | |
| - run: pnpm test | |
| - run: pnpm build | |
| env: | |
| CI: true |