Skip to content

Sync changes to main branch (#123) #2

Sync changes to main branch (#123)

Sync changes to main branch (#123) #2

name: Continuous Integration
on:
pull_request:
branches: [main]
push:
branches: [main]
concurrency:
# Cancel previous runs that are not completed yet
group: afj-controller-${{ github.ref }}-${{ github.repository }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-20.04
name: Validate
steps:
- name: Checkout afj-controller
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 18.19.0
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Linting
run: yarn lint
- name: Prettier
run: yarn check-format
- name: Compile
run: yarn check-types