Skip to content

Commit 60c9743

Browse files
committed
ci: add building job in build.yml
1 parent a33b8e7 commit 60c9743

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,21 @@ jobs:
2424
- name: Install dependencies
2525
run: npm i
2626
- name: Run ESLint
27-
run: npm run lint
27+
run: npm run lint
28+
build:
29+
name: Build the project
30+
runs-on: ubuntu-latest
31+
permissions:
32+
contents: read
33+
steps:
34+
- name: Set up NodeJS LTS
35+
uses: actions/setup-node@v6
36+
with:
37+
node-version: 'lts/*'
38+
- name: Checkout repository
39+
uses: actions/checkout@v6
40+
- name: Install dependencies
41+
run: npm i
42+
- name: Build the project
43+
run: npm run build
44+

0 commit comments

Comments
 (0)