Skip to content

chore(workflows): upgrade node and actions version #59

chore(workflows): upgrade node and actions version

chore(workflows): upgrade node and actions version #59

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [20.x, 22.x]
os: [ubuntu-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- name: Setup
run: npm i -g pnpm @antfu/ni
- name: Install
run: nci
- name: Lint
run: nr lint --if-present
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install clang-format and ruff from pypi
run: pip install clang-format ruff
- name: Test
run: nr test --if-present