Skip to content

Merge pull request #13 from Numoen/alpha4 #7

Merge pull request #13 from Numoen/alpha4

Merge pull request #13 from Numoen/alpha4 #7

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
cache: pnpm
node-version: latest
- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- run: forge install
- run: pnpm install
- run: pnpm wagmi generate
- run: pnpm build
- name: Create release pull request or publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm changeset version
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}