Skip to content

Commit 8db3f9d

Browse files
author
Ron Radtke
committed
Merge branch 'develop'
2 parents 0065475 + 0c9b503 commit 8db3f9d

File tree

2 files changed

+37
-2
lines changed

2 files changed

+37
-2
lines changed

.github/workflows/npm_publish.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
This workflow will publish a package to npm when a release is created.
2+
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3+
4+
# TODO: add tests or leave them out, add build steps...?
5+
6+
name: npm publish
7+
8+
on:
9+
release:
10+
types: [created]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: 16
20+
- run: npm ci
21+
# - run: npm test
22+
23+
publish-npm:
24+
needs: build
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v3
28+
- uses: actions/setup-node@v3
29+
with:
30+
node-version: 16
31+
registry-url: https://registry.npmjs.org/
32+
- run: npm ci
33+
# - run: npm run build
34+
- run: npm publish
35+
env:
36+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
<!-- Required to to download files without a notification-->
2525
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"/>
2626

27-
<application android:label="@string/app_name">
28-
27+
<application>
2928
<provider
3029
android:name="com.ReactNativeBlobUtil.Utils.FileProvider"
3130
android:authorities="${applicationId}.provider"

0 commit comments

Comments
 (0)