Streamline steps and add build zip in GitHub Workflow
Keep Running / Build (push) Successful in 37s
Details
Keep Running / Build (push) Successful in 37s
Details
Streamlined the steps in the GitHub Actions workflow and added a zipping process using 'action-zip' to create 'build.zip'. This change optimizes the workflow runtime and ensures a more efficient archiving and retrieval of the built files in the 'out' directory, improving the workflow's overall performance.
This commit is contained in:
parent
4a13dd9fb2
commit
e50fb62be8
|
@ -7,12 +7,13 @@ jobs:
|
|||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Download dependencies
|
||||
run: npm ci
|
||||
- name: Build binairy files
|
||||
run: npm run build
|
||||
- uses: actions/checkout@v4
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- uses: vimtor/action-zip@v1.1
|
||||
with:
|
||||
files: out/
|
||||
desk: build.zip
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: out
|
||||
path: build.zip
|
||||
|
|
Loading…
Reference in New Issue