From cb077a84abea9f1428f8fe35e705bfeecfcc9989 Mon Sep 17 00:00:00 2001 From: destruc7i0n Date: Fri, 24 Dec 2021 18:00:51 -0500 Subject: added github build workflow --- .github/workflows/build.yml | 18 ++++++++++++++++++ package.json | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..10e715b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: Build +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16.x' + - name: Install packages + run: yarn install + - name: Type check + run: yarn type-check + - name: Build + run: yarn build diff --git a/package.json b/package.json index 6b42050..c70b838 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "node build/index.js", "build": "tsc", - "test": "standard" + "type-check": "tsc --noEmit" }, "repository": { "type": "git", -- cgit 1.4.1