Skip to content

feat: testnet05 host url (#2616) #1621

feat: testnet05 host url (#2616)

feat: testnet05 host url (#2616) #1621

Workflow file for this run

name: Release
# Taken from: https://github.com/changesets/action#with-publishing
on:
workflow_dispatch:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Changelog PR or Release
if: ${{ github.repository_owner == 'kadena-community' }}
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- uses: actions/checkout@v4
with:
show-progress: false
token: ${{ secrets.RELEASE_ACTION_GITHUB_TOKEN }}
- name: Runner setup
uses: ./.github/actions/runner-setup
- name: Lint monorepo root
run: pnpm run lint
- name: Cache for Turbo
uses: rharkor/caching-for-turbo@v1.5
- name: Build, lint, test all packages
run: pnpm turbo lint build test
- name: Create Release PR or Publish
id: changesets
uses: changesets/action@v1
with:
# Note: pnpm install after versioning is necessary to refresh lockfile
version: pnpm run version
publish: pnpm run publish
commit: 'Update changelogs and bump versions'
title: '[ci] Release'
env:
# Needs "Contents" r+w and "Pull requests" r+w access to open/update PRs and push to main
GITHUB_TOKEN: ${{ secrets.RELEASE_ACTION_GITHUB_TOKEN }}
# Needs r+w access for packages of both orgs to publish to npm
NPM_TOKEN: ${{ secrets.RELEASE_ACTION_NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
- name: Output (debug)
if: steps.changesets.outputs.published == 'true'
# Do something more interesting when a publish happens.
run: echo ${{ steps.changesets.outputs.publishedPackages }}