Skip to content

Commit

Permalink
publish to GitHub Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
meishuu committed Jan 11, 2023
1 parent b3ddce8 commit f356158
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish-yarn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Package to Github Packages
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@discord'
- run: yarn
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@gorhom/bottom-sheet",
"name": "@discord/bottom-sheet",
"version": "4.4.5",
"description": "A performant interactive bottom sheet with fully configurable options 🚀",
"main": "lib/commonjs/index",
Expand All @@ -20,7 +20,7 @@
"reanimated",
"sheet"
],
"repository": "https://github.com/gorhom/react-native-bottom-sheet",
"repository": "https://github.com/discord/react-native-bottom-sheet",
"author": "Mo Gorhom (https://gorhom.dev)",
"license": "MIT",
"bugs": {
Expand Down

0 comments on commit f356158

Please sign in to comment.