Skip to content

Commit 5fdaf42

Browse files
committed
The fix worked so putting things back and fixing tests
1 parent 5a1db3b commit 5fdaf42

File tree

4 files changed

+23
-22
lines changed

4 files changed

+23
-22
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22
on:
33
push:
44
branches:
5-
- fix-deploy-example-pipeline
5+
- master
66
pull_request:
77
branches:
88
- master
@@ -46,26 +46,27 @@ jobs:
4646

4747
- name: Build package
4848
run: yarn prepack
49-
# release:
50-
# runs-on: ubuntu-latest
51-
# if: github.ref == 'refs/heads/master'
52-
# steps:
53-
# - name: Checkout
54-
# uses: actions/checkout@v3
55-
# with:
56-
# fetch-depth: 0
57-
# - name: Setup
58-
# uses: ./.github/actions/setup
59-
# - name: git config
60-
# run: |
61-
# git config user.name "${GITHUB_ACTOR}"
62-
# git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
63-
# - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
64-
# - run: yarn release
65-
# env:
66-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
release:
50+
runs-on: ubuntu-latest
51+
if: github.ref == 'refs/heads/master'
52+
steps:
53+
- name: Checkout
54+
uses: actions/checkout@v3
55+
with:
56+
fetch-depth: 0
57+
- name: Setup
58+
uses: ./.github/actions/setup
59+
- name: git config
60+
run: |
61+
git config user.name "${GITHUB_ACTOR}"
62+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
63+
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
64+
- run: yarn release
65+
env:
66+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
deploy-example:
6868
runs-on: ubuntu-latest
69+
if: github.ref == 'refs/heads/master'
6970
steps:
7071
- name: Checkout
7172
uses: actions/checkout@v3

src/__tests__/Date/__snapshots__/CalendarEdit.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ exports[`renders CalendarEdit 1`] = `
265265
}
266266
testID="text-input-flat"
267267
underlineColorAndroid="transparent"
268-
value="05/08/2025"
268+
value="05/18/2025"
269269
withModal={false}
270270
/>
271271
</View>

src/__tests__/Date/__snapshots__/DatePickerInput.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ exports[`renders DatePickerInput 1`] = `
258258
}
259259
testID="text-input-flat"
260260
underlineColorAndroid="transparent"
261-
value="05/08/2025"
261+
value="05/18/2025"
262262
/>
263263
</View>
264264
<View

src/__tests__/Date/__snapshots__/DatePickerInputWithoutModal.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ exports[`renders DatePickerInputWithoutModal 1`] = `
256256
}
257257
testID="text-input-flat"
258258
underlineColorAndroid="transparent"
259-
value="05/08/2025"
259+
value="05/18/2025"
260260
/>
261261
</View>
262262
</View>

0 commit comments

Comments
 (0)