Skip to content

chore(deps): update dependencies (non-major) (#75) #305

chore(deps): update dependencies (non-major) (#75)

chore(deps): update dependencies (non-major) (#75) #305

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Build
run: pnpm run build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Lint
run: pnpm run lint
- name: Typecheck
run: pnpm run typecheck
test-unit:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Test
run: pnpm run test
test-e2e:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
mode: [dev, preview]
runs-on: ${{ matrix.os }}
env:
ASTROBOOK_TEST_MODE: ${{ matrix.mode }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Install Playwright
run: pnpm run test:install
- name: Build
if: ${{ matrix.mode == 'preview' }}
run: pnpm run build
- name: Test
run: pnpm run test:e2e