Skip to content

Commit

Permalink
ci: update the ci env
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Jun 12, 2023
1 parent 575b5c7 commit a9fad87
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
name: Node.js CI
on: [push, pull_request]
env:
NODE_VERSION: 14.x

jobs:
build:

# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md
runs-on: macos-10.15
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
runs-on: macos-12

strategy:
matrix:
xcode-version: ["10.3", "11.7", "12.4"]
xcode-version: ["13.4.1", "14.2"]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
node-version: lts/*
cache: 'npm'
- name: Select Xcode ${{ matrix.xcode-version }}
run: sudo xcode-select --switch /Applications/Xcode_${{ matrix.xcode-version }}.app
- run: rm -rf UICatalog/build UIKitCatalog/build
Expand Down

0 comments on commit a9fad87

Please sign in to comment.