Skip to content

CPASS-462 - Add support for React v18 #41

CPASS-462 - Add support for React v18

CPASS-462 - Add support for React v18 #41

name: Build, lint and test civic-link
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
name: Test and lint civic-link on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ["16.x"]
os: [ubuntu-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup solana-local-validator
uses: ./.github/workflows/actions/solana-local-validator
- name: Prepare workspace
uses: ./.github/workflows/actions/workspace-install
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test