ci: fix the workflow name and add submodules checkout #1
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: Compile, test and check format | |
on: push | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- run: yarn install --immutable | |
- name: Compile package | |
run: yarn compile | |
- name: Test the package | |
run: yarn test | |
# - name: Check file formatting | |
# run: yarn format:check |