Skip to content

Commit

Permalink
ci: use node20
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed Sep 3, 2024
1 parent b2b170f commit 36dc4d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
platforms: arm64
- name: Prepare Runtime
run: |
flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.node18/${{ matrix.arch }}/23.08
flatpak --system remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
flatpak --system install -y --noninteractive flathub-beta org.freedesktop.Sdk.Extension.node20/${{ matrix.arch }}/24.08beta
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: com.vixalien.sticky.flatpak
Expand Down
6 changes: 3 additions & 3 deletions build-aux/flatpak/com.vixalien.sticky.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.node18"
"org.freedesktop.Sdk.Extension.node20"
],
"tags": [
"nightly"
],
"build-options": {
"append-path": "/usr/lib/sdk/node18/bin"
"append-path": "/usr/lib/sdk/node20/bin"
},
"command": "com.vixalien.sticky",
"finish-args": [
Expand All @@ -37,7 +37,7 @@
"name": "yarn-deps",
"buildsystem": "simple",
"build-commands": [
"/usr/lib/sdk/node18/enable.sh",
"/usr/lib/sdk/node20/enable.sh",
"mkdir -p /app",
"cp -r $FLATPAK_BUILDER_BUILDDIR/flatpak-node/yarn-mirror/ /app"
],
Expand Down

0 comments on commit 36dc4d6

Please sign in to comment.