Merge pull request #16 from argentlabs/expose-sign-typed-data #15
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: | |
- develop | |
- main | |
- hotfix\/v[0-9]+.[0-9]+.[0-9]+ | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 8 | |
run_install: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
- name: semantic-release | |
run: npx semantic-release --debug true --dry-run false | |
env: | |
HUSKY: 0 | |
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.CI_NPM_TOKEN }} |