Skip to content

Commit cfd45dd

Browse files
author
catpaw
committed
sync
1 parent d89ebfb commit cfd45dd

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-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

nodejs/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist
2+
generated
3+
node_modules
4+
db.json

0 commit comments

Comments
 (0)