forked from Flaque/quirk
-
Notifications
You must be signed in to change notification settings - Fork 20
28 lines (26 loc) · 905 Bytes
/
publish-ts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Publish production Typescript changes
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: yarn --dev --frozen-lockfile
- run: yarn test
working-directory: expo47
# https://github.com/expo/expo-github-action
# login to expo. using their action avoids ENOSPC: https://github.com/expo/expo-github-action/issues/20
- uses: expo/[email protected]
with:
expo-version: 6.x
expo-username: erosson
expo-password: ${{ secrets.EXPO_CLI_PASSWORD }}
- run: npm install -g eas-cli # this one doesn't like local installs for some reason
- run: yarn publish-ts # `expo publish` plus some prepublish chores, using eas-cli
working-directory: expo47