Skip to content

Commit

Permalink
build: bump node to latest LTS
Browse files Browse the repository at this point in the history
- ci/cd: switch macOS and windows to post-latest
  • Loading branch information
18alantom committed Dec 13, 2021
1 parent 8c14fd7 commit 3798c9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ on:

jobs:
setup_and_build:
runs-on: macos-latest
runs-on: macos-11
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.4.0'
node-version: '16.13.1'

- name: Set yarn version
run: yarn set version 1.22.17
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on: workflow_dispatch

jobs:
build-macos:
runs-on: macos-latest
runs-on: macos-11
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.4.0'
node-version: '16.13.1'

- name: Change yarn version
run: yarn set version 1.22.17
Expand Down Expand Up @@ -57,10 +57,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.4.0'

- name: Change yarn version
run: yarn set version 1.22.17
node-version: '16.13.1'

- name: Checkout Books
uses: actions/checkout@v2
Expand Down Expand Up @@ -93,7 +90,7 @@ jobs:
yarn electron:build --linux --publish always
build-windows:
runs-on: windows-latest
runs-on: windows-2022
defaults:
run:
shell: bash
Expand All @@ -102,10 +99,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.4.0'

- name: Change yarn version
run: yarn set version 1.22.17
node-version: '16.13.1'

- name: Checkout Books
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"*.{js,vue}": "vue-cli-service lint"
},
"engines": {
"node": ">=16.4.0",
"node": ">=16.13.1",
"yarn": "1.22.17"
},
"prettier": {
Expand Down

0 comments on commit 3798c9b

Please sign in to comment.