Skip to content

Commit 9f68626

Browse files
author
Li Wei
committed
更新 windows 构建
1 parent 57b99eb commit 9f68626

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/windows.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,16 @@ jobs:
2525
runs-on: windows-latest
2626

2727
steps:
28-
- uses: actions/checkout@v2
29-
28+
- uses: actions/checkout@v3
29+
- uses: pnpm/action-setup@v2
30+
with:
31+
version: 7.13.0
3032
- name: Cache node modules
3133
uses: actions/cache@v2
3234
env:
3335
cache-name: cache-node-modules
3436
with:
35-
# npm cache files are stored in `~/.npm`
37+
# npm cache files are stored in `~/.npm` on Linux/macOS
3638
path: ~/.npm
3739
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
3840
restore-keys: |
@@ -41,12 +43,12 @@ jobs:
4143
${{ runner.os }}-
4244
4345
- name: Use Node.js ${{ matrix.node-version }}
44-
uses: actions/setup-node@v1
46+
uses: actions/setup-node@v3
4547
with:
4648
node-version: ${{ matrix.node-version }}
4749
- name: Install Dependencies
48-
run: npm i
50+
run: pnpm install
4951
- name: Check lint
50-
run: npm run lint
52+
run: pnpm run lint
5153
- name: Build the app
52-
run: npm run electron:build
54+
run: pnpm run electron:build

src/app/core/models/branchie.settings.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import {InjectionToken} from '@angular/core';
1+
import { InjectionToken } from '@angular/core';
22

33

44
export interface BranchieSettings {
5-
app?: {
6-
} | undefined;
5+
app?: Record<string, never> | undefined;
76

87
video: {
98
videoDirectory: string | undefined;

0 commit comments

Comments
 (0)