Bump macos version to 13 and node to 20 in CI (#386)
macOS builders are failing with major version 12 because it's deprecated now https://github.com/actions/runner-images/issues/10721
This commit is contained in:
@@ -8,10 +8,10 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-12, ubuntu-latest]
|
os: [macos-13, ubuntu-latest]
|
||||||
platform: [windows, linux]
|
platform: [windows, linux]
|
||||||
exclude:
|
exclude:
|
||||||
- os: macos-12
|
- os: macos-13
|
||||||
platform: windows
|
platform: windows
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -21,7 +21,8 @@ jobs:
|
|||||||
- name: Install Node.js, NPM and Yarn
|
- name: Install Node.js, NPM and Yarn
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '20'
|
||||||
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Cache Dirs
|
- name: Cache Dirs
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
@@ -105,4 +106,4 @@ jobs:
|
|||||||
yarn --link-duplicates --pure-lockfile --ignore-engines install
|
yarn --link-duplicates --pure-lockfile --ignore-engines install
|
||||||
yarn run $YARN_BUILD_CMD
|
yarn run $YARN_BUILD_CMD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Install Node.js, NPM and Yarn
|
- name: Install Node.js, NPM and Yarn
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Yarn Install
|
- name: Yarn Install
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ jobs:
|
|||||||
- name: Install Node.js, NPM and Yarn
|
- name: Install Node.js, NPM and Yarn
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Yarn Install
|
- name: Yarn Install
|
||||||
run: yarn install --frozen-lockfile --ignore-optional
|
run: yarn install --frozen-lockfile --ignore-optional
|
||||||
|
|
||||||
- name: Yarn Lint
|
- name: Yarn Lint
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: 20
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user