Skip to content

ci: do not setup git user #61

ci: do not setup git user

ci: do not setup git user #61

Workflow file for this run

name: Release
on:
push:
branches:
- main
- release/*
- prerelease/*
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: onchain/rollups
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Register Git user
run: |
git config user.name rollups-contracts-bot
git config user.email [email protected]
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: yarn install
- name: Create release PR or publish to npm
uses: changesets/action@f13b1baaa620fde937751f5d2c3572b9da32af23
with:
setupGitUser: false
commit: "chore: version packages"
publish: yarn changeset publish
cwd: onchain/rollups
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}