Skip to content

Commit 962b03a

Browse files
committed
updating CI
1 parent 37266a3 commit 962b03a

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/main.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,28 @@ jobs:
8383

8484
name: Resolve latest electron versions
8585
steps:
86-
86+
8787
- name: Checkout code
8888
uses: actions/checkout@v4
8989

90+
- name: Cache node modules
91+
id: cache-nodemodules
92+
uses: actions/cache@v4
93+
env:
94+
cache-name: cache-node-modules
95+
with:
96+
path: node_modules
97+
key: ${{ runner.os }}-${{ hashFiles('package-lock.json') }}
98+
99+
- name: Setup dotnet
100+
uses: actions/setup-dotnet@v4
101+
with:
102+
dotnet-version: '8.0.x' # SDK Version to use; x will use the latest version of the 8.0 channel
103+
104+
- name: npm install
105+
shell: bash
106+
run: npm i
107+
90108
- name: Get latest Electron versions for 29, 30, 31, 32, 33
91109
id: electron-versions
92110
shell: bash

0 commit comments

Comments
 (0)