diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..226e08e --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout/install + uses: adamhamlin/checkout-node-project@v1 + + - name: Lint + run: npm run check + + - name: Compile + run: npm run compile diff --git a/package.json b/package.json index 1dc7954..ba68016 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "author": "Adam C Hamlin ", "license": "MIT", "scripts": { - "start": "ts-node ./driver.ts", + "start": "ts-node ./entry-point.ts", "test": "echo \"Error: no test specified\" && exit 1", "_lint": "eslint --fix", "_lint:check": "eslint",