forked from javi11/altmount
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (34 loc) · 826 Bytes
/
pull-request.yml
File metadata and controls
41 lines (34 loc) · 826 Bytes
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
name: Build
on:
pull_request:
branches:
- "main"
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
test:
if: ${{ !contains(github.event.head_commit.message, 'docs:') }}
runs-on: ubuntu-latest
steps:
# checkout
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/test
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: cd docs && bun install
- name: Build docs
run: cd docs && bun run build