-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (43 loc) · 1.17 KB
/
integrate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Integrate
on:
push:
branches: [ main, "releases/v*" ]
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@v2
with:
run_install: true
- name: Build action
run: pnpm build
- name: Package action
run: pnpm package
coding-standards:
runs-on: ubuntu-latest
strategy:
matrix:
project: ['apps/site']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
# This allows the setup action to resolve the biome version to install
# from the package.json file in the project's directory. Falls back to
# the latest stable version if no version is specified.
working-dir: ${{ matrix.project }}
- name: Run Biome
# This runs the biome command in the project's directory.
working-directory: ${{ matrix.project }}
run: biome ci .