Skip to content

Commit 9095022

Browse files
authored
Merge pull request #74 from flagship-io/v4
V4
2 parents 3ab1c73 + e8f937d commit 9095022

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+49
-9926
lines changed

.github/workflows/npm-cd-alpha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v2
1212
with:
13-
node-version: "14.x"
13+
node-version: "20.x"
1414
registry-url: "https://registry.npmjs.org"
1515
- run: yarn install
1616
- run: yarn build

.github/workflows/npm-cd-beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v2
1212
with:
13-
node-version: "14.x"
13+
node-version: "20.x"
1414
registry-url: "https://registry.npmjs.org"
1515
- run: yarn install
1616
- run: yarn build

.github/workflows/npm-cd-latest.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@ name: NPM CD
22
on:
33
push:
44
tags:
5-
- "3.[0-9]+.[0-9]+"
5+
- "4.[0-9]+.[0-9]+"
66
jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v2
1212
with:
13-
node-version: "14.x"
13+
node-version: "20.x"
1414
registry-url: "https://registry.npmjs.org"
1515
- run: yarn install
1616
- run: yarn test --coverage
17-
- uses: codecov/codecov-action@v2
1817
- run: yarn build
1918
- run: npm publish
2019
env:

.github/workflows/npm-cd-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v2
1212
with:
13-
node-version: "14.x"
13+
node-version: "20.x"
1414
registry-url: "https://registry.npmjs.org"
1515
- run: yarn install
1616
- run: yarn build

.github/workflows/workflow.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: Code coverage
3+
name: CI
44

55
# Controls when the action will run. Triggers the workflow on push or pull request
66
# events but only for the master branch
@@ -27,5 +27,10 @@ jobs:
2727
run: yarn install
2828
- name: Run tests
2929
run: npm run test -- --coverage --watchAll=false
30-
- name: Upload coverage to codecov
31-
uses: codecov/codecov-action@v2
30+
- name: Upload codecov report
31+
uses: codecov/codecov-action@v4
32+
with:
33+
token: ${{ secrets.CODECOV_TOKEN }}
34+
file: ./coverage/clover.xml
35+
flags: unittests
36+
fail_ci_if_error: true

example/.expo-shared/assets.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

example/.gitignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

example/App.tsx

Lines changed: 0 additions & 53 deletions
This file was deleted.

example/app.json

Lines changed: 0 additions & 34 deletions
This file was deleted.
-91.1 KB
Binary file not shown.
-17.1 KB
Binary file not shown.

example/assets/images/favicon.png

-1.43 KB
Binary file not shown.

example/assets/images/icon.png

-21.9 KB
Binary file not shown.

example/assets/images/splash.png

-46.2 KB
Binary file not shown.

example/babel.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

example/components/ContextModal.tsx

Lines changed: 0 additions & 173 deletions
This file was deleted.

0 commit comments

Comments
 (0)