Skip to content

[pull] main from walinejs:main #222

[pull] main from walinejs:main

[pull] main from walinejs:main #222

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
strategy:
matrix:
node-version:
- 18
- 20
- 22
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
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: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Package Build Test
run: pnpm build
- name: Linter test
run: pnpm lint
- name: Unit test
run: pnpm test
- name: Docs Build Test
run: pnpm docs:build