Skip to content

Modernize tooling and CI/CD: migrate to oxlint/oxfmt, update GitHub Actions, and upgrade dependencies #12

Modernize tooling and CI/CD: migrate to oxlint/oxfmt, update GitHub Actions, and upgrade dependencies

Modernize tooling and CI/CD: migrate to oxlint/oxfmt, update GitHub Actions, and upgrade dependencies #12

Workflow file for this run

name: Build
on:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
# @see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ matrix.os }}-${{ github.ref }}
cancel-in-progress: true
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: "package.json"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: "package.json"
- name: Test & Build
run: |
pnpm build
pnpm test
env:
CI: true