Skip to content

Commit

Permalink
Added github actions and expo preview
Browse files Browse the repository at this point in the history
  • Loading branch information
kebab01 committed Apr 14, 2024
1 parent bd4773e commit 9b232b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ jobs:
- uses: actions/checkout@v3
- name: Use Node.js 18.x

uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: npm

- name: Install dependencies
run: npm ci
Expand All @@ -25,15 +24,14 @@ jobs:
run: npm test

create_preview:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3

- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: npm

- name: Setup EAS
uses: expo/expo-github-action@v8
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "jest"
},
"jest": {
"preset": "jest-expo"
"preset": "babel-jest"
},
"dependencies": {
"@expo/vector-icons": "^14.0.0",
Expand Down

0 comments on commit 9b232b2

Please sign in to comment.