Skip to content

Commit

Permalink
CI: Try to workaround macOS failures.
Browse files Browse the repository at this point in the history
• Use back the latest Node.js in CI.
• Enforce installation of 'appdmg'.
  • Loading branch information
SpacingBat3 committed Nov 26, 2023
1 parent 0830a93 commit 7a20402
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.name == 'macOS' && '21.1.0' || 'latest' }}
node-version: latest
cache: npm

- name: Install dependencies
run: npm ci
run: npm ci ${{ matrix.name == 'macOS' && '&& npm i -D appdmg' || '' }}

- name: Update dependencies
if: ${{ matrix.build == 'latest' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.name == 'macOS' && '21.1.0' || 'latest' }}
node-version: latest
cache: npm

- name: Install dependencies
run: npm ci
run: npm ci ${{ matrix.name == 'macOS' && '&& npm i -D appdmg' || '' }}

- name: TSC cache
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.name == 'macOS' && '21.1.0' || 'latest' }}
node-version: latest
cache: npm

- name: Install dependencies
run: npm ci
run: npm ci ${{ matrix.name == 'macOS' && '&& npm i -D appdmg' || '' }}

- name: TSC cache
uses: actions/cache@v3
Expand Down

0 comments on commit 7a20402

Please sign in to comment.