-
-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (31 loc) · 782 Bytes
/
Copy pathrelease.yaml
File metadata and controls
40 lines (31 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Release
on:
release:
types: [published]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Use Node.js 20.x
uses: actions/setup-node@v7
with:
node-version: "20.20.2"
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