Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build

on:
push:
branches: [ main ]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist
29 changes: 29 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: pre-release

on:
push:
branches: [ stage ]

permissions:
contents: write

jobs:
nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- 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
2 changes: 1 addition & 1 deletion inventory-manager/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package-lock.json
.vscode/*
!.vscode/extensions.json
.idea
.idea/
.idea/*
.DS_Store
*.suo
*.ntvs*
Expand Down