mirror of
https://github.com/frappe/books.git
synced 2024-11-14 09:24:04 +00:00
build: bump node to latest LTS
- ci/cd: switch macOS and windows to post-latest
This commit is contained in:
parent
8c14fd7b65
commit
3798c9bb8d
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -12,12 +12,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup_and_build:
|
setup_and_build:
|
||||||
runs-on: macos-latest
|
runs-on: macos-11
|
||||||
steps:
|
steps:
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16.4.0'
|
node-version: '16.13.1'
|
||||||
|
|
||||||
- name: Set yarn version
|
- name: Set yarn version
|
||||||
run: yarn set version 1.22.17
|
run: yarn set version 1.22.17
|
||||||
|
16
.github/workflows/publish.yml
vendored
16
.github/workflows/publish.yml
vendored
@ -4,12 +4,12 @@ on: workflow_dispatch
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-11
|
||||||
steps:
|
steps:
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16.4.0'
|
node-version: '16.13.1'
|
||||||
|
|
||||||
- name: Change yarn version
|
- name: Change yarn version
|
||||||
run: yarn set version 1.22.17
|
run: yarn set version 1.22.17
|
||||||
@ -57,10 +57,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16.4.0'
|
node-version: '16.13.1'
|
||||||
|
|
||||||
- name: Change yarn version
|
|
||||||
run: yarn set version 1.22.17
|
|
||||||
|
|
||||||
- name: Checkout Books
|
- name: Checkout Books
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -93,7 +90,7 @@ jobs:
|
|||||||
yarn electron:build --linux --publish always
|
yarn electron:build --linux --publish always
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-2022
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -102,10 +99,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16.4.0'
|
node-version: '16.13.1'
|
||||||
|
|
||||||
- name: Change yarn version
|
|
||||||
run: yarn set version 1.22.17
|
|
||||||
|
|
||||||
- name: Checkout Books
|
- name: Checkout Books
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
"*.{js,vue}": "vue-cli-service lint"
|
"*.{js,vue}": "vue-cli-service lint"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.4.0",
|
"node": ">=16.13.1",
|
||||||
"yarn": "1.22.17"
|
"yarn": "1.22.17"
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
|
Loading…
Reference in New Issue
Block a user