infra: add test workflow #1
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: lint-and-test | ||
|
Check failure on line 1 in .github/workflows/test.yml
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| jobs: | ||
| lint-and-test: | ||
| runs-on: ubuntu-latest | ||
| name: run testing and linting | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: bahmutov/npm-install@v1 | ||
| - run: npm run lint (Run ESLint) | ||
| - run: npm run test (Run Jest) | ||