mirror of
https://github.com/acid-info/Kurate.git
synced 2025-02-21 03:58:16 +00:00
47 lines
906 B
YAML
47 lines
906 B
YAML
name: Check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Use Node.js 18
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
|
|
- uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 7
|
|
|
|
- name: Install dependenciess
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
# - name: Download snark-artifacts
|
|
# working-directory: packages/contracts
|
|
# run: pnpm run download:snark-artifacts
|
|
|
|
- name: Test
|
|
run: pnpm --filter ui run test # FIXME: run contract tests as well
|
|
|
|
- name: Check the build
|
|
run: pnpm run check
|
|
|
|
- name: Code linting
|
|
run: pnpm run lint
|
|
|
|
- name: Check dependencies, unused code
|
|
run: pnpm run knip
|