Skip to content

Merge pull request #1 from bloq/initial-setup-and-first-package #13

Merge pull request #1 from bloq/initial-setup-and-first-package

Merge pull request #1 from bloq/initial-setup-and-first-package #13

Workflow file for this run

name: Checks on CI
# Will limit one workflow per branch and one per pull_request at the same time
# and cancel if a new one appears.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
on:
pull_request:
push:
jobs:
code_checks:
name: Code Styling check
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup env
uses: ./.github/actions/setup-env
- name: Check formatting
run: npm run format:check
- name: Check linting
run: npm run lint
tests:
name: Tests checks
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup env
uses: ./.github/actions/setup-env
- name: Run test
run: npm run test