Skip to content

docs: add newest members of the 300 #782

docs: add newest members of the 300

docs: add newest members of the 300 #782

Workflow file for this run

name: ci
on:
push:
branches:
- '*'
- '*/*'
- '**'
pull_request: {}
env:
NODE_OPTIONS: --max-old-space-size=6144
jobs:
commitlint:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
# Required by wagoid/commitlint-github-action
pull-requests: read
steps:
- uses: actions/checkout@v4
with:
# Required by wagoid/commitlint-github-action
fetch-depth: 0
- name: Lint commit messages
uses: wagoid/commitlint-github-action@v5
with:
failOnWarnings: true
helpURL: https://github.com/goetzrobin/spartan/blob/main/CONTRIBUTING.md#-commit-message-guidelines
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: corepack enable
- run: corepack use pnpm@9
- uses: actions/setup-node@v4
with:
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: Install
run: pnpm install --frozen-lockfile --prefer-offline
- name: oxlint performance, correctness and lint check
run: pnpm ci.lint-baby
- name: biome fFormatting & sorted iImports check
run: pnpm ci.format-sort
# - name: Biome Lint Check // too many failures; let's start with formatting and sorting then get to this
# run: pnpm ci.lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: corepack enable
- run: pnpm --version
- uses: actions/setup-node@v4
with:
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: Install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Build
run: pnpm build
unit:
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: corepack enable
- run: pnpm --version
- uses: actions/setup-node@v4
with:
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: Install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Test
run: pnpm test
e2e:
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: corepack enable
- run: pnpm --version
- uses: actions/setup-node@v4
with:
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: Install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Install Cypress
run: npx cypress install
- name: End-to-end test
run: pnpm e2e