Skip to content

Commit 4b0ec48

Browse files
committed
node20
1 parent 3bf2829 commit 4b0ec48

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
env:
1515
OBSIDIAN_VERSION: "1.5.11"
1616
OBSIDIAN_FLATPAK_COMMIT: 45aca5bfa83d1283e2b75ff7e9c394ea46697eb5eb48703b774f48fca4242c9a
17+
NODE_VERSION: 20
1718

1819
jobs:
1920
lint:
@@ -24,7 +25,7 @@ jobs:
2425
- name: Setup Node.js
2526
uses: actions/setup-node@v3
2627
with:
27-
node-version: 18
28+
node-version: ${{ env.NODE_VERSION }}
2829
- name: Install dependencies
2930
run: npm ci
3031
- name: Lint
@@ -39,13 +40,13 @@ jobs:
3940
sudo apt install flatpak dbus-x11 xvfb
4041
flatpak remote-add --user flathub https://flathub.org/repo/flathub.flatpakrepo
4142
flatpak install --user -y flathub md.obsidian.Obsidian
42-
flatpak update --user -y --commit=$OBSIDIAN_FLATPAK_COMMIT md.obsidian.Obsidian
43+
#flatpak update --user -y --commit=$OBSIDIAN_FLATPAK_COMMIT md.obsidian.Obsidian
4344
- name: Checkout
4445
uses: actions/checkout@v3
4546
- name: Setup Node.js
4647
uses: actions/setup-node@v3
4748
with:
48-
node-version: 18
49+
node-version: ${{ env.NODE_VERSION }}
4950
- name: Install dependencies
5051
run: npm ci
5152
- name: Test
@@ -69,7 +70,7 @@ jobs:
6970
- name: Setup Node.js
7071
uses: actions/setup-node@v3
7172
with:
72-
node-version: 18
73+
node-version: ${{ env.NODE_VERSION }}
7374
- name: Install dependencies
7475
run: npm ci
7576
- name: Test
@@ -86,7 +87,7 @@ jobs:
8687
- name: Setup Node.js
8788
uses: actions/setup-node@v3
8889
with:
89-
node-version: 18
90+
node-version: ${{ env.NODE_VERSION }}
9091
- name: Install dependencies
9192
run: npm ci
9293
- name: Build

0 commit comments

Comments
 (0)