Skip to content

updated version in GitHub Actions #79

updated version in GitHub Actions

updated version in GitHub Actions #79

name: Build and Test
on:
push:
branches-ignore: ["gh-pages"]
pull_request:
branches: ["main"]
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
- name: Setup Node.js ⚙️
uses: actions/setup-node@v4
with:
node-version: 22
- name: Setup pnpm ⚙️
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install 🕝
run: pnpm install --frozen-lockfile
- name: Lint 🧐
run: pnpm lint
- name: Build 🔧
run: pnpm build
- name: Test 🧪
run: pnpm test-once