Skip to content

Commit edbcc9c

Browse files
authored
Created ci-pipeline.yml
1 parent d1d51bb commit edbcc9c

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/ci-pipeline.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
generator:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: ⚙️ Setup .NET
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: 8.0.x
19+
- name: 🔄 Restore dependencies
20+
run: dotnet restore
21+
- name: 🔨 Build
22+
run: dotnet build --no-restore
23+
- name: 🧪 Test
24+
run: dotnet test --no-restore --no-build --verbosity normal
25+
26+
website:
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: ⚙️ Setup Node.js 22.x
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: 22.x
35+
cache: 'npm'
36+
- name: 📦 Install dependencies
37+
run: npm ci
38+
working-directory: Website
39+
- name: 🔨 Build
40+
run: npm run build
41+
working-directory: Website
42+
- name: 📝 Lint
43+
run: npm run lint
44+
working-directory: Website

0 commit comments

Comments
 (0)