Skip to content

Add build process

Add build process #2

Workflow file for this run

name: Release
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
defaults:
run:
working-directory: trackaudio
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.11.0"
cache: "npm"
cache-dependency-path: "trackaudio/package-lock.json"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Package
run: npm run package
- name: Upload package
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
*.streamDeckPlugin