Skip to content

Commit 47932f3

Browse files
author
Petr Konecny
committed
chore: update readmes
1 parent 476825c commit 47932f3

File tree

4 files changed

+13
-22
lines changed

4 files changed

+13
-22
lines changed

.github/actions/setup/action.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Setup Environment
2-
description: 'Set up Node.js, pnpm, Expo CLI'
2+
description: 'Set up Node.js, yarn, Expo CLI'
33
inputs:
44
EXPO_TOKEN:
55
required: true
@@ -11,34 +11,25 @@ runs:
1111
- uses: actions/setup-node@v4
1212
with:
1313
node-version: 20
14-
15-
- name: Install pnpm
16-
uses: pnpm/action-setup@v4
17-
with:
18-
version: 9
19-
- name: Get pnpm store directory
20-
id: pnpm-cache
21-
shell: bash
22-
run: |
23-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
14+
cache: 'yarn'
2415

2516
- uses: actions/cache@v4
26-
name: Setup pnpm cache
17+
name: Setup yarn cache
2718
with:
28-
path: ${{ env.STORE_PATH }}
29-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
19+
path: ~/.yarn/cache
20+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3021
restore-keys: |
31-
${{ runner.os }}-pnpm-store-
22+
${{ runner.os }}-yarn-
3223
3324
- uses: expo/expo-github-action@v8
3425
with:
3526
eas-version: latest
3627
token: ${{ inputs.EXPO_TOKEN }}
37-
packager: pnpm
28+
packager: yarn
3829

3930
- name: Install Dependencies
40-
run: pnpm install --frozen-lockfile
31+
run: yarn install --frozen-lockfile
4132
shell: bash
4233
- name: Install example dependencies
43-
run: cd example && pnpm install --frozen-lockfile
34+
run: cd example && yarn install --frozen-lockfile
4435
shell: bash

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/setup-node@v4
1111
with:
1212
node-version: 20
13-
cache: 'npm'
13+
cache: 'yarn'
1414
- run: yarn install
1515
- run: yarn lint
1616

@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/setup-node@v4
3535
with:
3636
node-version: 20
37-
cache: 'npm'
37+
cache: 'yarn'
3838
- run: yarn install
3939
- env:
4040
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ npm install @strv/react-native-hero-carousel
2727
# or
2828
yarn add @strv/react-native-hero-carousel
2929
# or
30-
pnpm add @strv/react-native-hero-carousel
30+
yarn add @strv/react-native-hero-carousel
3131
```
3232

3333
### Peer Dependencies

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This example app demonstrates all the features and capabilities of the `@strv/re
77
### Prerequisites
88

99
- [Node.js](https://nodejs.org/) (v18 or higher)
10-
- [pnpm](https://pnpm.io/) (recommended) or npm/yarn
10+
- [yarn](https://yarnpkg.com/) (recommended) or npm/pnpm
1111
- [Expo CLI](https://docs.expo.dev/get-started/installation/)
1212
- iOS Simulator (macOS) or Android Emulator
1313

0 commit comments

Comments
 (0)