43 lines
733 B
YAML
43 lines
733 B
YAML
name: Integrate
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
run_install: true
|
|
|
|
- name: Build action
|
|
run: pnpm build
|
|
|
|
- name: Package action
|
|
run: pnpm package
|
|
|
|
coding-standards:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Biome
|
|
uses: biomejs/setup-biome@v2
|
|
|
|
- name: Run Biome
|
|
run: biome ci .
|