-
Notifications
You must be signed in to change notification settings - Fork 17
39 lines (30 loc) · 932 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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