Skip to content

Commit f9b954f

Browse files
committed
chore: upgrade to GitHub Actions v4
1 parent 88348f8 commit f9b954f

2 files changed

Lines changed: 18 additions & 38 deletions

File tree

.github/workflows/actions.yml

Lines changed: 16 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,61 +8,41 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212

13-
- name: Get Yarn cache directory path
14-
id: yarn-cache-path
15-
run: echo "::set-output name=dir::$(yarn cache dir)"
16-
17-
- name: Cache node modules
18-
uses: actions/cache@v2
19-
id: yarn-cache
20-
env:
21-
cache-name: cache-node-modules
13+
- name: Set up Node
14+
uses: actions/setup-node@v4
2215
with:
23-
path: ${{ steps.yarn-cache-path.outputs.dir }}
24-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25-
restore-keys: |
26-
${{ runner.os }}-yarn-
16+
cache: yarn
17+
node-version: 18
2718

2819
- name: Install dependencies
2920
run: |
30-
yarn install --cwd example --frozen-lockfile
31-
yarn install --frozen-lockfile
21+
yarn install --frozen-lockfile --prefer-offline
22+
yarn install --cwd example --frozen-lockfile --prefer-offline
3223
3324
- name: Run linter
34-
run: |
35-
yarn lint
25+
run: yarn run lint
3626
id: lint
3727

3828
type:
3929
name: Run Type Checker
4030
runs-on: ubuntu-latest
4131

4232
steps:
43-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v4
4434

45-
- name: Get Yarn cache directory path
46-
id: yarn-cache-path
47-
run: echo "::set-output name=dir::$(yarn cache dir)"
48-
49-
- name: Cache node modules
50-
uses: actions/cache@v2
51-
id: yarn-cache
52-
env:
53-
cache-name: cache-node-modules
35+
- name: Set up Node
36+
uses: actions/setup-node@v4
5437
with:
55-
path: ${{ steps.yarn-cache-path.outputs.dir }}
56-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
57-
restore-keys: |
58-
${{ runner.os }}-yarn-
38+
cache: yarn
39+
node-version: 18
5940

6041
- name: Install dependencies
6142
run: |
62-
yarn install --cwd example --frozen-lockfile
63-
yarn install --frozen-lockfile
43+
yarn install --frozen-lockfile --prefer-offline
44+
yarn install --cwd example --frozen-lockfile --prefer-offline
6445
6546
- name: Run type checker
66-
run: |
67-
yarn typescript
47+
run: yarn run typescript
6848
id: type

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ PODS:
951951
- React
952952
- React-callinvoker
953953
- React-Core
954-
- react-native-gigya-sdk (2.3.0-alpha.6):
954+
- react-native-gigya-sdk (3.0.0):
955955
- Gigya
956956
- React-Core
957957
- React-nativeconfig (0.73.11)
@@ -1364,7 +1364,7 @@ SPEC CHECKSUMS:
13641364
React-logger: 6e4873d1f9c54cca30f6c91a6617f8c91b75ba4c
13651365
React-Mapbuffer: 57bf49a458398d329dad2bf8bc660e3e35b96989
13661366
react-native-fast-secure-storage: fcf60c1f8cb19a4025f343f2c3696daf1e42a8ce
1367-
react-native-gigya-sdk: 4bbba843d2f8d223c02717cdc8a1f3b083bb84ed
1367+
react-native-gigya-sdk: b500a8859c2ec5339bf90311ee86da226e53608d
13681368
React-nativeconfig: 8fd29a35a3e4e8c37682d976667663d834ba6165
13691369
React-NativeModulesApple: 83d7077877f8eda8e1b6055b3f8f16f7db8463b5
13701370
React-perflogger: 3887a05940ccd34a83457fd153fdeda509b31737

0 commit comments

Comments
 (0)