Skip to content

chore: release main #1239

chore: release main

chore: release main #1239

Workflow file for this run

---
name: Test
on:
pull_request:
types: [opened, synchronize]
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read # for checkout
jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 20
- run: corepack enable && pnpm --version
- run: pnpm install --ignore-scripts
- run: pnpm build --filter=./locales/*
lint:
timeout-minutes: 15
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 20
- run: corepack enable && pnpm --version
- run: pnpm install --loglevel=error --ignore-scripts
- run: pnpm check:lint
test:
timeout-minutes: 15
strategy:
fail-fast: true
matrix:
node: [lts/*, current]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: ${{ matrix.node }}
- run: corepack enable && pnpm --version
- run: pnpm install --loglevel=error --ignore-scripts
- run: pnpm test