Skip to content

fix(deps): update dependency @pinax/graph-networks-registry to v0.6.7… #537

fix(deps): update dependency @pinax/graph-networks-registry to v0.6.7…

fix(deps): update dependency @pinax/graph-networks-registry to v0.6.7… #537

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions: write-all
env:
RELEASE_COMMIT_MSG: 'chore(release): update monorepo packages versions'
jobs:
stable:
name: Stable
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup environment
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
packageManagerVersion: 9.1.0
- name: Set variables
id: vars
run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "date=$(date +"%B %d, %Y")" >> $GITHUB_OUTPUT
- name: Build
if: ${{ startsWith(github.event.head_commit.message, env.RELEASE_COMMIT_MSG) }}
run: pnpm --filter=@graphprotocol/graph-cli build
- name: Pack binaries
if: ${{ startsWith(github.event.head_commit.message, env.RELEASE_COMMIT_MSG) }}
run: pnpm --filter=@graphprotocol/graph-cli oclif:pack
- name: Release / pull_request
uses: dotansimha/changesets-action@v1.5.0
with:
publish: pnpm release
version: pnpm changeset version
commit: ${{ env.RELEASE_COMMIT_MSG }}
title: Upcoming Release Changes
createGithubReleases: true
githubReleaseName: ${{ steps.vars.outputs.date }}
githubReleaseAssets: packages/cli/dist/*.tar.gz
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}