Skip to content

Commit d1facd1

Browse files
committed
ci/cd updates
1 parent c219c82 commit d1facd1

2 files changed

Lines changed: 18 additions & 9 deletions

File tree

.github/workflows/build-publish.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,30 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19+
name: Checkout repository
1920
with:
2021
fetch-depth: 0
2122

2223
- name: Enable Corepack
2324
run: corepack enable
2425

2526
- uses: actions/setup-node@v4
27+
name: Setup Node.js
2628
with:
2729
node-version: 24
2830
cache: yarn
2931

30-
- name: Run install
31-
uses: borales/actions-yarn@v4
32+
- name: Install dependencies
33+
uses: borales/actions-yarn@v5
3234
with:
3335
cmd: install
3436

3537
- name: Build website
36-
run: yarn build
38+
uses: borales/actions-yarn@v5
39+
with:
40+
cmd: build
3741

38-
- name: Upload Build Artifact
42+
- name: Upload build artifact
3943
uses: actions/upload-pages-artifact@v3
4044
with:
4145
path: build

.github/workflows/build.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
jobs:
9-
test-deploy:
9+
build:
1010
name: Build docs
1111
runs-on: ubuntu-latest
1212
steps:
@@ -18,12 +18,17 @@ jobs:
1818
run: corepack enable
1919

2020
- uses: actions/setup-node@v4
21+
name: Setup Node.js
2122
with:
2223
node-version: 24
2324
cache: yarn
2425

25-
- name: Setup Yarn
26-
uses: threeal/setup-yarn-action@v2.0.0
26+
- name: Install dependencies
27+
uses: borales/actions-yarn@v5
28+
with:
29+
cmd: install
2730

28-
- name: Test build website
29-
run: yarn build
31+
- name: Build docs
32+
uses: borales/actions-yarn@v5
33+
with:
34+
cmd: build

0 commit comments

Comments
 (0)