Skip to content

Commit

Permalink
fix: CI types
Browse files Browse the repository at this point in the history
  • Loading branch information
atlj committed Jun 11, 2024
1 parent ea78ef6 commit 759e510
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/build-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,21 @@ jobs:
- ubuntu-latest
- macos-14 # macos latest defaults to macos 12 at the moment.
type:
- module-legacy
- module-mixed
- module-new
- view-legacy
- view-module-mixed
- view-module-new
- view-module-legacy
language:
- kotlin-objc
- kotlin-swift
exclude:
- type: module-legacy
- type: module-mixed
- type: module-new
- type: view-module-legacy
language: kotlin-swift
- type: view-module-mixed
language: kotlin-swift
- type: view-module-new
language: kotlin-swift
include:
- os: ubuntu-latest
type: library
language: js
- os: macos-latest
type: view-legacy
language: kotlin-swift
- os: macos-latest
type: module-legacy
language: kotlin-swift
- os: ubuntu-latest
type: module-legacy
language: cpp
Expand Down Expand Up @@ -124,7 +116,7 @@ jobs:
# Build iOS for only some matrices to skip redundant builds
if [[ ${{ matrix.os }} == macos-14 ]]; then
echo "ios_build=1" >> $GITHUB_ENV
echo "ios_build=1" >> $GITHUB_ENV
fi
- name: Cache turborepo
Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-native-library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ type ArgName =
type ProjectLanguages = 'kotlin-objc' | 'kotlin-swift' | 'cpp' | 'js';

type ProjectType =
| 'library'
| 'module-legacy'
| 'module-mixed'
| 'module-new'
| 'view-legacy'
| 'library'
| 'view-module-legacy'
| 'view-module-mixed'
| 'view-module-new';
Expand Down

0 comments on commit 759e510

Please sign in to comment.