Skip to content

Commit

Permalink
ci: add github action for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhamlin committed Jul 15, 2024
1 parent 743a547 commit edfeda4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"author": "Adam C Hamlin <achamlin@gmail.com>",
"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",
Expand Down

0 comments on commit edfeda4

Please sign in to comment.