ci: Improve workflow

This commit is contained in:
Elian Doran 2024-07-21 00:02:43 +03:00
parent 3ac643b3ac
commit f49008bf21
No known key found for this signature in database

View File

@ -11,14 +11,18 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Set up node & dependencies
run: npm ci uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm ci
- name: Run installer build - name: Run installer build
run: npm run make-electron run: npm run make-electron
- name: Publish installer artifact - name: Publish installer artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: TriliumNext Notes for Windows (.exe) name: TriliumNext Notes for Windows (.exe)
path: out/make/squirrel.windows/x64/*.exe path: out/make/squirrel.windows/x64/*.exe