feat: updates Header authenticated state to render username; name and… #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
name: release-please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/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 publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
if: ${{ steps.release.outputs.releases_created == 'true' }} |