diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d107e31..91fdb20f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,17 +19,22 @@ jobs: uses: actions/setup-node@v3 with: node-version: 16 - - name: -- Step 3 -- Use Expo action + - name: -- Step 3 -- Setup Java + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '11' + - name: -- Step 4 -- Use Expo action uses: expo/expo-github-action@v6 with: expo-version: 5.x username: ${{ secrets.EXPO_USERNAME }} token: ${{ secrets.EXPO_TOKEN }} - - name: -- Step 4 -- Install node dependencies + - name: -- Step 5 -- Install node dependencies run: yarn install - - name: -- Step 5 -- Install ruby dependencies + - name: -- Step 6 -- Install ruby dependencies run: bundle install - - name: -- Step 6 -- Run fastlane + - name: -- Step 7 -- Run fastlane env: DEVELOPER_DIR: /Applications/Xcode_13.3.1.app/Contents/Developer ENVIRONMENT: ${{ steps.branch.outputs.branch }} diff --git a/__tests__/components/Button.js b/__tests__/components/Button.js deleted file mode 100644 index 9a2e0b8c..00000000 --- a/__tests__/components/Button.js +++ /dev/null @@ -1,96 +0,0 @@ -import React from 'react' -import { - toBeDisabled, - toHaveStyle, - toHaveTextContent -} from '@testing-library/jest-native' -import { cleanup, fireEvent, render } from '@testing-library/react-native/pure' - -import Button from '@components/Button' - -expect.extend({ toBeDisabled, toHaveStyle, toHaveTextContent }) - -describe('Testing component button', () => { - afterEach(cleanup) - - describe('static button', () => { - it('with text only', () => { - const onPress = jest.fn() - const { getByTestId, toJSON } = render( -