diff options
author | destruc7i0n <destruc7i0n@users.noreply.github.com> | 2021-12-24 18:00:51 -0500 |
---|---|---|
committer | destruc7i0n <destruc7i0n@users.noreply.github.com> | 2021-12-24 18:00:51 -0500 |
commit | cb077a84abea9f1428f8fe35e705bfeecfcc9989 (patch) | |
tree | 6c0406cd5198fa0e9ba4f2780b49201389fb946b | |
parent | bump yarn lock (diff) | |
download | shulker-cb077a84abea9f1428f8fe35e705bfeecfcc9989.tar.gz shulker-cb077a84abea9f1428f8fe35e705bfeecfcc9989.zip |
added github build workflow
-rw-r--r-- | .github/workflows/build.yml | 18 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 19 insertions, 1 deletions
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", |