Skip to content

Commit b0a43ce

Browse files
committed
Add ci build & upload
1 parent b2e8d94 commit b0a43ce

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99
end_of_line = crlf
10+
11+
[*.yml,*.yaml]
12+
indent_style = spaces
13+
indent_size = 2

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,22 @@ jobs:
2020
- run: npm ci --prefer-offline --no-audit
2121
- run: npm run lint
2222

23+
build:
24+
needs: lint
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: actions/setup-node@v4
29+
with:
30+
node-version: 20
31+
cache: npm
32+
- run: npm ci --prefer-offline --no-audit
33+
- run: npm run build
34+
- uses: actions/upload-artifact@v4
35+
with:
36+
name: RideVehicleEditor.js
37+
path: dist/RideVehicleEditor.js
38+
2339
test:
2440
needs: lint
2541
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)