Skip to content

Commit

Permalink
build: fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
robsonos committed May 25, 2024
1 parent d9ae875 commit 2f5c823
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'
cache: 'yarn'

- name: Install dependencies
Expand Down
23 changes: 14 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
lint:
runs-on: macos-13
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -19,6 +19,14 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Check SwiftLint version
run: swiftlint version

- name: Locate SwiftLint
run: |
which swiftlint
export PATH="$PATH:/usr/local/bin"
- name: Lint
run: yarn lint

Expand All @@ -33,7 +41,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'
cache: 'yarn'

- name: Install plugin dependencies
Expand Down Expand Up @@ -61,7 +69,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'
cache: 'yarn'

- name: Setup Java
Expand All @@ -77,7 +85,7 @@ jobs:
run: yarn verify:android

verify-ios:
runs-on: macos-13
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -87,18 +95,15 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: '.nvmrc'
cache: 'yarn'

- name: Set up Xcode
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
run: sudo xcode-select --switch /Applications/Xcode_15.4.app

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Lint
run: yarn lint

- name: Verify
run: yarn verify:ios

Expand Down

0 comments on commit 2f5c823

Please sign in to comment.