Skip to content

Commit 7f5a428

Browse files
authored
Create build-nodejs.yml
1 parent bf95070 commit 7f5a428

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build-nodejs.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build NodeJS
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 18.17.1
15+
16+
- name: Run npm bild
17+
working-directory: nodejs
18+
run: |
19+
npm i
20+
npm run build
21+
22+
- name: Archive dist
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: dist
26+
path: |
27+
nodejs/dist

0 commit comments

Comments
 (0)