0.3.0-beta.1 #3
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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Node dependencies | |
| run: npm install | |
| - name: Cache Node dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: node-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| node-${{ runner.os }}- | |
| - name: Type check | |
| run: npm run check-types | |
| - name: Build CLI | |
| run: npm run build |