Skip to content

Merge pull request #10 from Numoen/dev #3

Merge pull request #10 from Numoen/dev

Merge pull request #10 from Numoen/dev #3

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 }}