You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this Expo action, you have full access to [Expo CLI][link-expo-cli] and [EAS CLI][link-eas-cli].
@@ -135,7 +142,7 @@ jobs:
135
142
136
143
### Publish a preview from PR
137
144
138
-
Reviewing pull requests can take some time.
145
+
Reviewing pull requests can take some time.
139
146
The reviewer needs to check out the branch, install the changes, and run the bundler to review the results.
140
147
You can also automatically publish the project for the reviewer to skip those manual steps.
141
148
@@ -180,24 +187,24 @@ jobs:
180
187
181
188
### Automatic Expo login
182
189
183
-
Some Expo commands, like `expo publish` and `eas build`, require you to be authenticated.
190
+
Some Expo commands, like `expo publish` and `eas build`, require you to be authenticated.
184
191
This action exports the [**token**][link-expo-token] to ensure you are authenticated in every workflow step.
185
192
186
193
> Note, this action does not store the [token][link-expo-token] anywhere. Each separate workflow job needs to set up the [**token**][link-expo-token] individually.
187
194
188
195
### Using the built-in cache
189
196
190
197
You can opt-out from caching the Expo and EAS CLI installations.
191
-
Under the hood, it uses the [`@actions/cache`][link-actions-cache-package] package to restore a previous install.
198
+
Under the hood, it uses the [`@actions/cache`][link-actions-cache-package] package to restore a previous install.
192
199
It reduces the installation time because it only needs to download and extract a single tar file.
193
200
194
201
> Note, using cache will count towards your [repo cache limit][link-actions-cache-limit]. Both the Expo and EAS CLI are stored in different caches.
195
202
196
203
### ENOSPC errors on Linux
197
204
198
-
Creating new bundles with Metro can be memory intensive.
199
-
In the past, some builds resulted in `ENOSPC` errors.
200
-
To prevent anyone from running into this, we make sure Ubuntu has sensible defaults in terms of file system availability.
205
+
Creating new bundles with Metro can be memory intensive.
206
+
In the past, some builds resulted in `ENOSPC` errors.
207
+
To prevent anyone from running into this, we make sure Ubuntu has sensible defaults in terms of file system availability.
201
208
You can opt-out from patching the file system by setting **patch-watchers** to `false`.
This (sub)action allows you to comment on pull requests containing Expo QR codes.
@@ -48,8 +55,8 @@ Here is a summary of all the input options you can use.
48
55
49
56
## Available outputs
50
57
51
-
There are a few variables available to generate the comment content.
52
-
Some of these variables are also exported as subaction output.
58
+
There are a few variables available to generate the comment content.
59
+
Some of these variables are also exported as subaction output.
53
60
Here is a summary of these variables.
54
61
55
62
| output name | template name | description |
@@ -89,10 +96,10 @@ jobs:
89
96
pull-requests: write # Allow comments on PRs
90
97
steps:
91
98
- name: 🏗 Setup repo
92
-
uses: actions/checkout@v2
99
+
uses: actions/checkout@v3
93
100
94
101
- name: 🏗 Setup Node
95
-
uses: actions/setup-node@v2
102
+
uses: actions/setup-node@v3
96
103
with:
97
104
node-version: 16.x
98
105
cache: yarn
@@ -117,7 +124,7 @@ jobs:
117
124
118
125
### Sending preview comments elsewhere
119
126
120
-
You can also use this action to generate the comment without actually commenting.
127
+
You can also use this action to generate the comment without actually commenting.
121
128
By disabling commenting with **comment** set to `false`, you can reuse this action with any workflow trigger and send it to any service accessible in GitHub Actions.
122
129
123
130
> See [Available variables](#available-variables) for a list of all outputs.
@@ -134,10 +141,10 @@ jobs:
134
141
pull-requests: write # Allow comments on PRs
135
142
steps:
136
143
- name: 🏗 Setup repo
137
-
uses: actions/checkout@v2
144
+
uses: actions/checkout@v3
138
145
139
146
- name: 🏗 Setup Node
140
-
uses: actions/setup-node@v2
147
+
uses: actions/setup-node@v3
141
148
with:
142
149
node-version: 16.x
143
150
cache: yarn
@@ -174,7 +181,7 @@ jobs:
174
181
175
182
### Preventing duplicate comments
176
183
177
-
When automating these preview comments, you have to be careful not to spam a pull request on every successful run.
184
+
When automating these preview comments, you have to be careful not to spam a pull request on every successful run.
178
185
Every comment contains a generated **message-id** to identify previously made comments and update instead of creating a new comment.
0 commit comments