Merge pull request #51 from cosmicjs/tony/ai #144
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: Package Checks | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18.15.0 | |
| cache: 'npm' | |
| - name: Install npm packages | |
| run: npm ci | |
| - name: Eslint | |
| run: npx eslint 'src/**/*.{js,ts}' | |
| - name: TSC | |
| run: npm run tsc:lint | |
| - name: Build Package | |
| run: npm run build |