-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 768 Bytes
/
build-blog-only.yml
File metadata and controls
34 lines (30 loc) · 768 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
name: Build Blog-only
on:
pull_request:
branches:
- main
- docusaurus-v**
paths:
- packages/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: Build Blog-only
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
- name: Set up Node
uses: actions/setup-node@5b949b50c3461bbcd5a540b150c368278160234a # v3
with:
node-version: '16'
cache: yarn
- name: Installation
run: yarn
- name: Build blog-only
run: yarn workspace website build:blogOnly