Skip to content

Configure publish in github actions #1

Configure publish in github actions

Configure publish in github actions #1

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:
build:
name: Build check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run tsc
code_styling_checks:
name: Code Styling check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run format:check