Add publish
Workflow
#12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |