Skip to content

Commit 83ecfaf

Browse files
committed
πŸ‘· Refactor to use generic actions
1 parent 0351816 commit 83ecfaf

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node.js CI
1+
name: CI
22
on:
33
merge_group: {}
44
push:
@@ -25,4 +25,11 @@ jobs:
2525
uses: w5s/actions/setup@main
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
- run: make validate
28+
- name: πŸ”¨ Build
29+
uses: w5s/actions/task@main
30+
with:
31+
task: build
32+
- name: πŸ” Validate
33+
uses: w5s/actions/task@main
34+
with:
35+
task: validate

β€Ž.github/workflows/deploy.ymlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1919
- name: βš™οΈ Setup
2020
uses: w5s/actions/setup@main
21-
- name: πŸ“¦ Install dependencies
22-
run: pnpm install
23-
- name: Build website
24-
run: pnpm --filter @w5s/website run build
21+
- name: πŸ”¨ Build
22+
uses: w5s/actions/task@main
23+
with:
24+
task: build
2525

2626
# Popular action to deploy to GitHub Pages:
2727
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus

0 commit comments

Comments
Β (0)