name: ci on: [push, pull_request] jobs: ci: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - run: corepack enable - uses: actions/setup-node@v3 with: node-version: 16 cache: 'pnpm' - name: Install dependencies run: pnpm i - name: Run linters run: pnpm lint - name: Run unit test run: pnpm test - name: Build the app run: pnpm build