Skip to content

added dependency path definition in workflows #4

added dependency path definition in workflows

added dependency path definition in workflows #4

Workflow file for this run

name: pre-release
on:
push:
branches: [ stage ]
permissions:
contents: write
jobs:
nightly:
runs-on: ubuntu-latest
defaults:
run:
working-directory: inventory-manager
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: inventory-manager/package-lock.json
- run: npm ci
- run: npm run build
- run: zip -r dist-nightly.zip dist
- uses: ncipollo/release-action@v1
with:
tag: nightly
name: Nightly
prerelease: true
allowUpdates: true
replacesArtifacts: true
artifacts: dist-nightly.zip