chore: migrate workspace to moon/proto node stack #46
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install proto | |
| run: curl -fsSL https://moonrepo.dev/install/proto.sh | bash -s -- 0.55.2 --yes | |
| - name: Add proto to PATH | |
| run: echo "$HOME/.proto/bin" >> "$GITHUB_PATH" | |
| - name: Install toolchains from .prototools | |
| run: proto install | |
| - name: Install dependencies | |
| run: proto run pnpm -- install --frozen-lockfile | |
| - name: Format | |
| run: moon run :format | |
| - name: Test | |
| run: moon run :test | |
| - name: Typecheck | |
| run: moon run :typecheck |