Skip to content

build(deps-dev): bump prettier from 3.8.1 to 3.8.3 #343

build(deps-dev): bump prettier from 3.8.1 to 3.8.3

build(deps-dev): bump prettier from 3.8.1 to 3.8.3 #343

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
commitlint:
name: Commit Lint
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- run: npm ci
- name: Validate commits
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to HEAD
lint:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run format:check
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run typecheck
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
release-parity:
name: Release parity
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run build
env:
GH_ATTACH_BUILD_VERSION: 9.9.9
- run: npm test
env:
GH_ATTACH_BUILD_VERSION: 9.9.9
test:
name: Test (Node ${{ matrix.node }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [20, 22, 24]
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm test
- name: Upload coverage
if: matrix.node == 22 && matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v7
with:
name: coverage
path: coverage/
e2e:
name: E2E Tests
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: [lint, typecheck, build, test]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run test:e2e
env:
E2E_TESTS: true
GITHUB_TOKEN: ${{ secrets.E2E_GITHUB_TOKEN }}
E2E_TEST_REPO: ${{ secrets.E2E_TEST_REPO }}