add license and readme #14
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
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Run eslint | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- run: yarn | |
- run: yarn lint | |
- run: yarn format --check | |
tsc: | |
runs-on: ubuntu-latest | |
name: Check typescript | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- run: yarn | |
- run: yarn tsc | |
test: | |
runs-on: ubuntu-latest | |
name: Run tests | |
needs: [lint, tsc] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- run: yarn | |
- run: yarn test | |
- run: yarn playwright install chromium | |
- run: yarn playwright install-deps chromium | |
- run: yarn mongo | |
- run: yarn e2e |