Skip to content

Commit

Permalink
ci: fix electron build, add --ignore-engines
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Dec 22, 2022
1 parent 1d29fa8 commit 829f1d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/buildapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18

- name: Cache Dirs
uses: actions/cache@v2
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:16-wine \
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn install && yarn run $YARN_BUILD_CMD --linux --x64"
/bin/bash -c "yarn --link-duplicates --pure-lockfile --ignore-engines install && yarn run $YARN_BUILD_CMD --linux --x64"
else
#mkdir -p plugins-win;
#pushd plugins-win;
Expand All @@ -81,7 +81,7 @@ jobs:
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:16-wine \
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn install && yarn run $YARN_BUILD_CMD --win --x64 --ia32"
/bin/bash -c "yarn --link-duplicates --pure-lockfile --ignore-engines install && yarn run $YARN_BUILD_CMD --win --x64 --ia32"
fi
else
#mkdir -p plugins-mac;
Expand All @@ -90,7 +90,7 @@ jobs:
#unzip PepperFlashPlayer.plugin.zip;
#rm PepperFlashPlayer.plugin.zip;
#popd;
yarn install
yarn --link-duplicates --pure-lockfile --ignore-engines install
yarn run $YARN_BUILD_CMD
fi
2 changes: 1 addition & 1 deletion .github/workflows/buildext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 18
node-version: '18.x'
cache: 'yarn'

- name: Yarn Install
Expand Down

0 comments on commit 829f1d2

Please sign in to comment.