meshtastic/.github/workflows/ci.yml

44 lines
830 B
YAML
Raw Normal View History

2021-04-01 17:34:44 -07:00
name: CI
2021-05-01 00:59:23 -07:00
on:
push:
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
build:
2021-04-01 17:34:44 -07:00
runs-on: ubuntu-latest
steps:
- name: Checkout code & submodules
2023-12-26 03:27:05 -08:00
uses: actions/checkout@v4
- name: Setup pnpm
2024-11-14 06:44:00 -08:00
uses: pnpm/action-setup@v4
with:
version: latest
2024-01-05 17:08:07 -08:00
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- 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