Merge pull request #21 from jcam1/feature/enable-release-pr #22
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 v1 package | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
paths: | |
- 'packages/v1/**' | |
defaults: | |
run: | |
working-directory: ./packages/v1 | |
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:sdk | |
- name: Lint | |
run: yarn run lint:dry-run | |
- name: Format | |
run: yarn run format:dry-run |