feat: add tar package installation and cache storage step

This commit is contained in:
Leandro Costa 2026-03-07 10:15:26 -03:00
parent 08a7a20f7c
commit 0db0fe8be5

View file

@ -27,7 +27,7 @@ runs:
steps:
- name: Build-Node-App Install dependencies
shell: sh
run: apk add nodejs
run: apk add nodejs tar
- name: Build-Node-App_Git Clone
uses: actions/checkout@v4
@ -47,6 +47,13 @@ runs:
npm run ${{ inputs.test_action }}
npm run ${{ inputs.build_action }}
- name: Store Node Modules Cache
if: always()
uses: actions/cache/save@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- uses: actions/upload-artifact@v3
name: Build-Node-App Upload Artifact
with: