Skip to content

fix(Search, Typescript): updates the gmeta property in `GSearchResu… #309

fix(Search, Typescript): updates the gmeta property in `GSearchResu…

fix(Search, Typescript): updates the gmeta property in `GSearchResu… #309

on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
# Publish to NPM
- uses: actions/checkout@v4
# Only run if a release was created
if: ${{ steps.release.outputs.releases_created == 'true' }}
- uses: actions/setup-node@v4
with:
node-version: lts/hydrogen
registry-url: 'https://registry.npmjs.org'
scope: '@globus'
if: ${{ steps.release.outputs.releases_created == 'true' }}
- run: npm ci
if: ${{ steps.release.outputs.releases_created == 'true' }}
- run: npm run publish-to-npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.releases_created == 'true' }}
- name: Notify Slack
if: ${{ steps.release.outputs.releases_created == 'true' }}
id: slack
uses: slackapi/[email protected]
with:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "`@globus/sdk@${{ steps.release.outputs.tag_name }}` has been released!"
}
},
{
"type": "divider"
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": "View Release Details on GitHub",
"emoji": true
},
"url": "${{ steps.release.outputs.html_url }}"
}
]
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}