Skip to content

Commit

Permalink
chore: bump electronjs/node to 2.1.0 (main) (#1112)
Browse files Browse the repository at this point in the history
* chore: bump electronjs/node in .circleci/config.yml to 2.1.0

* ci: node < 14 fixes

* ci: fixes

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <[email protected]>
  • Loading branch information
electron-roller[bot] and dsanders11 authored Nov 21, 2023
1 parent 25bcc0d commit 20271d8
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ version: 2.1

orbs:
cfa: continuousauth/[email protected]
node: electronjs/node@1.2.0
node: electronjs/node@2.1.0

executors:
windows:
environment:
GYP_MSVS_VERSION: '2022'
machine:
image: windows-server-2022-gui:stable
image: windows-server-2022-gui:current
resource_class: windows.medium
shell: bash.exe

Expand All @@ -21,6 +21,17 @@ workflows:
name: test-<< matrix.executor >>-<< matrix.node-version >>
pre-steps:
- run: git config --global core.autocrlf input
- when:
condition:
or:
- and:
- equal: [ node/macos, << matrix.executor >> ]
- equal: [ '14.16', << matrix.node-version >> ]
- and:
- equal: [ node/macos, << matrix.executor >> ]
- equal: [ '12.22', << matrix.node-version >> ]
steps:
- node/install-rosetta
- when:
condition:
equal: [ windows, << matrix.executor >> ]
Expand All @@ -33,8 +44,8 @@ workflows:
- when:
condition:
or:
- equal: [ 14.21.3, << matrix.node-version >> ]
- equal: [ 12.22.12, << matrix.node-version >> ]
- equal: [ '14.16', << matrix.node-version >> ]
- equal: [ '12.22', << matrix.node-version >> ]
steps:
# Update npm so it works with latest Python 3
- run: npm install -g npm@8
Expand All @@ -54,16 +65,17 @@ workflows:
- node/macos
- windows
node-version:
- 20.2.0
- 18.16.0
- 16.20.0
- 14.21.3
- 12.22.12
- '20.9'
- '18.17'
- '16.20'
# Stay below 14.17.0 or nvm tries to download arm64 artifacts which don't exist
- '14.16'
- '12.22'
exclude:
- executor: windows
node-version: 14.21.3
node-version: '14.16'
- executor: windows
node-version: 12.22.12
node-version: '12.22'
- cfa/release:
requires:
- test
Expand Down

0 comments on commit 20271d8

Please sign in to comment.