This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
[Snyk] Security upgrade expo from 44.0.6 to 50.0.0 #1235
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Expo CI | |
on: [pull_request] | |
permissions: | |
actions: write | |
checks: write | |
contents: write | |
deployments: write | |
issues: write | |
packages: write | |
pull-requests: write | |
repository-projects: write | |
security-events: write | |
statuses: write | |
jobs: | |
lint: | |
name: Lint with ESLINT | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: 14.x | |
- run: npm i -g eslint | |
- run: yarn | |
- run: eslint . | |
ci: | |
name: Continuous Integration | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: 16 | |
cache: "yarn" | |
- uses: expo/[email protected] | |
with: | |
expo-version: latest | |
eas-version: latest | |
token: ${{ secrets.EXPO_TOKEN }} | |
- name: Install dependencies with Yarn | |
run: yarn | |
- run: expo doctor | |
- name: Run tests | |
run: yarn test |