Skip to content

Actions update

Actions update #31

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
defaults:
run:
shell: bash
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use pnpm 9.x
uses: pnpm/action-setup@v4
with:
version: 9.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm test
- name: Run linting
run: pnpm lint || echo "No lint script found"
- name: Check types
run: pnpm type-check || echo "No type-check script found"