Skip to content

chore(deps-dev): bump vite from 5.3.1 to 5.4.6 in /internal/dev_server/ui #383

chore(deps-dev): bump vite from 5.3.1 to 5.4.6 in /internal/dev_server/ui

chore(deps-dev): bump vite from 5.3.1 to 5.4.6 in /internal/dev_server/ui #383

Workflow file for this run

name: Run Release Please
on:
pull_request:
push:
branches:
- main
jobs:
go-versions:
uses: ./.github/workflows/go-versions.yml
release-please:
runs-on: ubuntu-latest
if: github.event_name == 'push'
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{secrets.GITHUB_TOKEN}}
release-ldcli:
permissions:
id-token: write # Needed to obtain Docker tokens
contents: write # Needed to upload release artifacts
needs: [ release-please, go-versions ]
if: always() && (needs.release-please.outputs.release_created == 'true' || github.event_name == 'pull_request')
runs-on: ubuntu-latest
outputs:
hashes: ${{ steps.publish.outputs.hashes }}
steps:
- uses: actions/checkout@v4
name: Checkout
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ needs.go-versions.outputs.latest }}
- uses: launchdarkly/gh-actions/actions/[email protected]
name: 'Get Docker token'
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/global/services/docker/public/username = DOCKER_USERNAME, /global/services/docker/public/token = DOCKER_TOKEN'
- uses: ./.github/actions/publish
id: publish
with:
dry-run: ${{ github.event_name == 'pull_request' }}
snapshot: ${{ github.event_name == 'pull_request' }}
token: ${{ secrets.GITHUB_TOKEN }}
homebrew-gh-secret: ${{secrets.HOMEBREW_DEPLOY_KEY}}
tag: ${{ needs.release-please.outputs.tag_name }}
release-ldcli-npm:
runs-on: ubuntu-latest
needs: ['release-please', 'release-ldcli']
permissions:
id-token: write
contents: write
if: always() && needs.release-please.outputs.release_created == 'true'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- uses: launchdarkly/gh-actions/actions/[email protected]
name: 'Get NPM token'
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/production/common/releasing/npm/token = NODE_AUTH_TOKEN'
- id: publish-npm
name: Publish NPM Package
uses: ./.github/actions/publish-npm
with:
dry-run: ${{ github.event_name == 'pull_request' }}
prerelease: 'false'
release-ldcli-provenance:
needs: ['release-please', 'release-ldcli']
permissions:
actions: read
id-token: write
contents: write
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
base64-subjects: "${{ needs.release-ldcli.outputs.hashes }}"
upload-assets: true
upload-tag-name: ${{ needs.release-please.outputs.tag_name }}
provenance-name: ${{ format('ldcli_{0}_multiple_provenance.intoto.jsonl', needs.release-please.outputs.tag_name) }}