CI #2099
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: CI | |
env: | |
NEXT_PUBLIC_CROSSMINT_AUTH_SMART_WALLET_API_KEY: ${{ secrets.NEXT_PUBLIC_CROSSMINT_AUTH_SMART_WALLET_API_KEY }} | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
build-and-test: | |
name: build & test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js, PNPM, and install dependencies | |
uses: ./.github/actions/pnpm-install | |
- name: Build all | |
run: pnpm build | |
- name: Test all | |
run: pnpm test | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js, PNPM, and install dependencies | |
uses: ./.github/actions/pnpm-install | |
- name: Check for lint errors | |
run: pnpm lint |