fix: mining and mined addresses #252
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: '📚 Publish' | |
on: | |
push: | |
branches: | |
- 'main' | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
publish: | |
name: ☁️ Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: 🔻 Install pnpm | |
run: npm i pnpm@latest -g | |
- name: 🗒️ Setup pnpm config | |
run: pnpm config set store-dir $PNPM_CACHE_FOLDER | |
- name: ✨ Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: ✨ Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: 🙏 Run Forge Build | |
run: | | |
forge --version | |
forge build --sizes | |
id: build | |
- name: 📦 Build package | |
run: pnpm build | |
- name: 🚀 Create Release Pull Request or Publish | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
publish: pnpm changeset publish | |
commit: 'feat: version release' | |
title: 'feat: version release' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |