Skip to content

chore: github action #1

chore: github action

chore: github action #1

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: Integration
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install
- name: Build
run: pnpm build
- name: TypeScript type check
run: pnpm test:type
- name: Unit tests
run: pnpm test