Skip to content

Commit

Permalink
chore: removed workflows for auto publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
devbabs committed Mar 23, 2024
1 parent 3eca19e commit c81ee78
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish-to-gh-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish to GitHub Packages

on:
push:
branches:
- main # Change this to your main branch name

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Publish to GitHub Packages
run: npm publish --registry=https://npm.pkg.github.com/@devbabs --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@devbabs/react-native-toast-alert",
"name": "react-native-toast-alert",
"version": "0.1.5",
"description": "My awesome react-native-toast-alert library",
"main": "lib/commonjs/index",
Expand Down Expand Up @@ -48,9 +48,6 @@
"url": "https://github.com/devbabs/react-native-toast-alert/issues"
},
"homepage": "https://github.com/devbabs/react-native-toast-alert#readme",
"publishConfig": {
"registry": "https://npm.pkg.github.com/@devbabs"
},
"devDependencies": {
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^29.5.5",
Expand Down

0 comments on commit c81ee78

Please # to comment.