Skip to content

Merge pull request #2546 from Chia-Network/checkpoint/main_from_relea… #4093

Merge pull request #2546 from Chia-Network/checkpoint/main_from_relea…

Merge pull request #2546 from Chia-Network/checkpoint/main_from_relea… #4093

Workflow file for this run

name: code-check
on:
push:
branches:
- long_lived/**
- main
- release/**
tags:
- "**"
pull_request:
branches:
- "**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
# Use node version from '.nvmrc' instead of hardcoding here
node-version-file: ".nvmrc"
- name: npm ci
run: npm ci
- name: npm run build:ci
run: npm run build:ci
- name: Check for Prettier issues
run: npm run check:prettier
- name: Check for ESLint issues
run: npm run check:lint
- name: Check for TS issues
run: npm run check:types
- name: Run tests
run: npm run test