Skip to content

Commit

Permalink
Adding initial artifact building support
Browse files Browse the repository at this point in the history
  • Loading branch information
mthiel committed Dec 17, 2024
1 parent 30c6595 commit ffdc14b
Show file tree
Hide file tree
Showing 4 changed files with 274 additions and 4 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release

on:
release:
types: [published]

jobs:
build:
name: "Build, lint and pack"
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.18.1"
cache: "npm"
cache-dependency-path: "package-lock.json"

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

# - name: Lint
# run: npm run lint

- name: Pack
uses: neilenns/streamdeck-cli-pack@v1

- name: Upload plugin
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
*.streamDeckPlugin
7 changes: 3 additions & 4 deletions com.mthiel.denon-controller.sdPlugin/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Name": "Denon Receiver Network Control",
"Version": "0.7.2.0",
"Name": "Receiver Control",
"Version": "0.7.2.1",
"Author": "Matthew Thiel",
"Actions": [
{
Expand Down Expand Up @@ -92,8 +92,7 @@
}
],
"Nodejs": {
"Version": "20",
"Debug": "enabled"
"Version": "20"
},
"UUID": "com.mthiel.denon-controller"
}
227 changes: 227 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"@elgato/streamdeck": "^1.0.0",
"@xmldom/xmldom": "^0.9.4",
"telnet-stream": "^1.1.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.28.1"
}
}

0 comments on commit ffdc14b

Please sign in to comment.