Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
pipeline:
name: Lint, Type Check & Publish
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -17,6 +20,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
scope: "@notificationapi"

- name: Cache node_modules
id: cache-modules
Expand All @@ -41,8 +46,6 @@ jobs:
- name: Publish
id: publish
uses: JS-DevTools/npm-publish@v4
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}

- name: Send Slack notification for Success
if: success()
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"source": "js/index",
"repository": {
"type": "git",
"url": "https://github.com/notificationapi-com/notificationapi-react-native-sdk.git"
"url": "git+https://github.com/notificationapi-com/notificationapi-react-native-sdk.git"
},
"keywords": [
"react-native",
Expand All @@ -21,6 +21,9 @@
"author": "NotificationAPI",
"license": "MIT",
"homepage": "https://www.notificationapi.com",
"publishConfig": {
"access": "public"
},
"files": [
"js",
"android",
Expand Down