Skip to content

deps: bump @biomejs/biome from 1.9.1 to 1.9.2 (#53) #195

deps: bump @biomejs/biome from 1.9.1 to 1.9.2 (#53)

deps: bump @biomejs/biome from 1.9.1 to 1.9.2 (#53) #195

name: Test and Build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
check-latest: true
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build
run: npm run build
- name: Check formatting
run: npm run format:check
- name: Check linting
run: npm run lint:check