Skip to content

setup actions workflow #9

setup actions workflow

setup actions workflow #9

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
pull_request: {}
defaults:
run:
shell: bash
jobs:
test:
name: Test Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install Dependencies
run: |
pnpm install
- name: Prettier
run: |
pnpm run prettier
# - name: Lint
# run: |
# pnpm run lint
- name: Build
run: |
pnpm run build
# NOTE: uncomment when we have tests
# - name: Test
# run: |
# pnpm run test -- --coverage