Skip to content

ci: Update typescript example #130

ci: Update typescript example

ci: Update typescript example #130

Workflow file for this run

name: CI # Continuous Integration
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build-and-test:
name: Node.js-${{ matrix.node }} on ${{ matrix.os }}
strategy:
matrix:
node: [ 20, 22 ]
os:
- ubuntu-latest
- windows-latest
- macos-latest
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
# cache: "pnpm"
- name: Build
run: |
pnpm i
pnpm build
- name: Test
run: pnpm test