chore: version packages #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
permissions: | |
actions: write | |
contents: write | |
id-token: write | |
packages: write | |
pull-requests: write | |
jobs: | |
release: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: onchain/rollups | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v1 | |
with: | |
commit: "chore: version packages" | |
publish: yarn changeset publish | |
cwd: onchain/rollups | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |