Skip to content

Commit 6aac348

Browse files
committed
Check builds on push and PR
1 parent db36a1b commit 6aac348

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build website
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v4
12+
13+
- name: Set up Node.js
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
18+
- name: Install dependencies
19+
run: npm install
20+
21+
- name: Build website
22+
run: npm run build

0 commit comments

Comments
 (0)