Skip to content

Commit

Permalink
Update actions for newer macOS runners.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacingBat3 committed May 2, 2024
1 parent d1a813b commit a397061
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,14 @@ jobs:
node-version: latest
cache: npm

- name: Install dependencies (NPM${{ matrix.name == 'macOS' && '+PIP' || '' }})
run: ${{ matrix.runner == 'macos-latest' && 'python -m pip install setuptools &&' || '' }} npm ci
- name: Lock Python version (macOS only)
if: ${{ matrix.runner == 'macos-latest' }}
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install dependencies (NPM)
run: npm ci

- name: Update dependencies
if: ${{ matrix.build == 'latest' }}
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@ jobs:
node-version: latest
cache: npm

- name: Install dependencies (NPM${{ matrix.name == 'macOS' && '+PIP' || '' }})
run: ${{ matrix.runner == 'macos-latest' && 'python -m pip install setuptools &&' || '' }} npm ci
- name: Lock Python version (macOS only)
if: ${{ matrix.runner == 'macos-latest' }}
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install dependencies (NPM)
run: npm ci

- name: TSC cache
uses: actions/cache@v3
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@ jobs:
node-version: latest
cache: npm

- name: Install dependencies (NPM${{ matrix.name == 'macOS' && '+PIP' || '' }})
run: ${{ matrix.runner == 'macos-latest' && 'python -m pip install setuptools &&' || '' }} npm ci
- name: Lock Python version (macOS only)
if: ${{ matrix.runner == 'macos-latest' }}
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install dependencies (NPM)
run: npm ci

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

0 comments on commit a397061

Please sign in to comment.