Skip to content

Commit

Permalink
Bump macos version to 13 and node to 20 in CI (#386)
Browse files Browse the repository at this point in the history
macOS builders are failing with major version 12 because it's deprecated
now actions/runner-images#10721
  • Loading branch information
emma-sg authored Dec 23, 2024
1 parent 2f798ee commit ce8230d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/buildapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:

strategy:
matrix:
os: [macos-12, ubuntu-latest]
os: [macos-13, ubuntu-latest]
platform: [windows, linux]
exclude:
- os: macos-12
- os: macos-13
platform: windows

steps:
Expand All @@ -21,7 +21,8 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '20'
cache: 'yarn'

- name: Cache Dirs
uses: actions/cache@v2
Expand Down Expand Up @@ -105,4 +106,4 @@ jobs:
yarn --link-duplicates --pure-lockfile --ignore-engines install
yarn run $YARN_BUILD_CMD
fi
2 changes: 1 addition & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'yarn'

- name: Yarn Install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'yarn'

- name: Yarn Install
run: yarn install --frozen-lockfile --ignore-optional

- name: Yarn Lint
run: yarn lint
run: yarn lint
2 changes: 1 addition & 1 deletion .github/workflows/npm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'

Expand Down

0 comments on commit ce8230d

Please sign in to comment.