Skip to content

chore(main): release 1.118.0 (#148) #328

chore(main): release 1.118.0 (#148)

chore(main): release 1.118.0 (#148) #328

on:
workflow_dispatch:
push:
branches:
- "main"
permissions:
contents: write
pull-requests: write
name: release-please
env:
GITHUB_TOKEN: "${{ secrets.GH_ACTIONS }}"
jobs:
release-please:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: "${{ secrets.GH_ACTIONS }}"
outputs:
release_created: ${{ steps.release.outputs.release_created }}
upload_url: ${{ steps.release.outputs.upload_url }}
tag_name: ${{ steps.release.outputs.tag_name }}
pr: ${{ steps.release.outputs.pr }}
steps:
- uses: google-github-actions/release-please-action@v3
env:
GITHUB_TOKEN: "${{ secrets.GH_ACTIONS }}"
id: release
with:
command: manifest
token: ${{ secrets.GH_ACTIONS }}
publish:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
uses: javalent/workflows/.github/workflows/publish.yml@main
secrets: inherit
# publish:
# runs-on: ubuntu-latest
# needs: release-please
# if: ${{ needs.release-please.outputs.release_created }}
# steps:
# # The logic below handles the npm publication:
# - uses: actions/checkout@v2
# # these if statements ensure that a publication only occurs when
# # a new release is created:
# if: ${{ steps.release.outputs.release_created }}
# - uses: actions/setup-node@v1
# with:
# node-version: 18
# registry-url: "https://registry.npmjs.org"
# if: ${{ steps.release.outputs.release_created }}
# - run: npm ci
# if: ${{ steps.release.outputs.release_created }}
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# if: ${{ steps.release.outputs.release_created }}