Skip to content

Commit

Permalink
ci: update the ci env (#30)
Browse files Browse the repository at this point in the history
* ci: update the ci env

* Update node.js.yml
  • Loading branch information
KazuCocoa committed Jun 12, 2023
1 parent 575b5c7 commit 6ff9d58
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
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/*
- 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 6ff9d58

Please sign in to comment.