This commit is contained in:
smf
2024-03-04 17:07:58 +08:00
parent 86d55d0966
commit d9ef759f4c
2 changed files with 10 additions and 4 deletions

View File

@@ -4,9 +4,14 @@ on:
node-version:
required: true
type: string
artifact-name:
required: true
dist-dir:
required: false
type: string
default: 'dist'
artifact-name:
required: false
type: string
default: 'artifact'
jobs:
build_node_project:
@@ -27,7 +32,7 @@ jobs:
- run: npm ci
- run: npm run build
- run: mv dist pub
- run: mv ${{ inputs.dist-dir }} pub
- uses: actions/upload-artifact@v3
with: