Merge pull request #47 from PufferFinance/2684/add-converttoassets-me… #138
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
# This name appears on the "build" badge on README. | |
name: build | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: latest | |
run_install: true | |
- name: Lint | |
run: pnpm lint | |
- name: Test | |
run: pnpm test:coverage | |
- name: Build | |
run: pnpm build | |
- name: Build docs | |
run: pnpm docs:build |