aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-09 23:00:06 -0700
committerFuwn <[email protected]>2021-05-09 23:00:06 -0700
commitda7c64bf4de5bdc213304c64946cd3c8eee3dd2f (patch)
tree898bcd37835d661de9ce95feb52731bfd36ef1b7 /.github/workflows
parentchore(git): ignore ide related files/ directories (diff)
downloadsite-da7c64bf4de5bdc213304c64946cd3c8eee3dd2f.tar.xz
site-da7c64bf4de5bdc213304c64946cd3c8eee3dd2f.zip
ci(actions): check action, check if project compiles
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000..56c83c5
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,25 @@
+name: Check ✅/ 🚫
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ node-version: [ 14.x, 15.x, 16.x ]
+ steps:
+ - name: Checkout 🛒
+ uses: actions/checkout@v2
+
+ - name: Setup Node.js - ${{ matrix.node-version }} 🚧
+ uses: actions/setup-node@v2
+ with:
+ node-version: ${{ matrix.node-version }}
+
+ - name: Check 🙋‍♀️
+ run: npm build