summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authordestruc7i0n <destruc7i0n@users.noreply.github.com>2021-12-24 18:00:51 -0500
committerdestruc7i0n <destruc7i0n@users.noreply.github.com>2021-12-24 18:00:51 -0500
commitcb077a84abea9f1428f8fe35e705bfeecfcc9989 (patch)
tree6c0406cd5198fa0e9ba4f2780b49201389fb946b
parentbump yarn lock (diff)
downloadshulker-cb077a84abea9f1428f8fe35e705bfeecfcc9989.tar.gz
shulker-cb077a84abea9f1428f8fe35e705bfeecfcc9989.zip
added github build workflow
-rw-r--r--.github/workflows/build.yml18
-rw-r--r--package.json2
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",