Skip to content

npm --> yarn; Add Root-Level Formatter #6

npm --> yarn; Add Root-Level Formatter

npm --> yarn; Add Root-Level Formatter #6

Workflow file for this run

name: static checks for core package
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
paths:
- 'packages/core/**'
defaults:
run:
working-directory: ./packages/core
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Compile
run: yarn run compile
- name: Lint
run: yarn run lint:dry-run
- name: Format
run: yarn run format:dry-run
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run tests
run: yarn run test