Skip to content

Merge branch 'main' of github.com:moeen-mahmud/react-native-floating-tab #18

Merge branch 'main' of github.com:moeen-mahmud/react-native-floating-tab

Merge branch 'main' of github.com:moeen-mahmud/react-native-floating-tab #18

Workflow file for this run

name: Release
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Release please
id: release
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_KEY }}
release-type: "node"
# The logic below handles the npm publication:
- uses: actions/checkout@v4
if: ${{steps.release.outputs.created_release}}
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
with:
node-version: 22
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_KEY }}