Skip to content

Commit 0906842

Browse files
committed
Build CI/CD workflow pipeline
1 parent f6b571b commit 0906842

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: VSCode Extension Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Fetch NodeJS
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
21+
- name: Build GDScript VSCode extension
22+
run: |
23+
chmod +x build.sh
24+
./build.sh
25+
26+
- name: Upload dist folder
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: gdscript-vsce
30+
path: gdscript-vsce-0.0.1.vsix
31+
retention-days: 1

0 commit comments

Comments
 (0)