2021-04-01 17:34:44 -07:00
|
|
|
name: CI
|
2023-01-13 20:20:47 -08:00
|
|
|
|
2021-05-01 00:59:23 -07:00
|
|
|
on:
|
|
|
|
push:
|
2023-01-13 20:20:47 -08:00
|
|
|
pull_request:
|
2021-04-01 17:34:44 -07:00
|
|
|
|
|
|
|
jobs:
|
2024-01-05 17:08:07 -08:00
|
|
|
quality:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Setup Biome
|
|
|
|
uses: biomejs/setup-biome@v1
|
|
|
|
with:
|
|
|
|
version: latest
|
|
|
|
|
|
|
|
- name: Run Biome
|
2024-02-08 13:23:54 -08:00
|
|
|
run: biome ci . --diagnostic-level=error
|
2023-01-13 20:20:47 -08:00
|
|
|
build:
|
2021-04-01 17:34:44 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-01-13 20:20:47 -08:00
|
|
|
- name: Checkout code & submodules
|
2023-12-26 03:27:05 -08:00
|
|
|
uses: actions/checkout@v4
|
2023-01-13 20:20:47 -08:00
|
|
|
|
|
|
|
- name: Setup pnpm
|
2024-11-14 06:44:00 -08:00
|
|
|
uses: pnpm/action-setup@v4
|
2023-01-13 20:20:47 -08:00
|
|
|
with:
|
|
|
|
version: latest
|
2024-01-05 17:08:07 -08:00
|
|
|
|
|
|
|
- name: Setup Node.js
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
with:
|
2024-11-16 13:04:39 -08:00
|
|
|
node-version-file: '.nvmrc'
|
2023-01-13 20:20:47 -08:00
|
|
|
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: pnpm install
|
|
|
|
|
2024-01-05 17:08:07 -08:00
|
|
|
- name: Build Package
|
2024-02-08 13:23:54 -08:00
|
|
|
run: pnpm run build
|