aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2019-12-26 20:28:23 +0100
committersD <stoned@derpymail.org>2019-12-26 20:28:23 +0100
commitf0393a086156469ba3a9777f327d690fe20f81bc (patch)
treefdb71f5dbe2a0c11c10e87f09cd470674ab5ce25 /.github/workflows
parentf8f3bd210c128df39b08c4f89c740872ec47902c (diff)
CI for webAO?
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/webpack.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml
new file mode 100644
index 0000000..d8bf90e
--- /dev/null
+++ b/.github/workflows/webpack.yml
@@ -0,0 +1,25 @@
+name: webpack
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [10.x, 12.x]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: npm build
+ run: |
+ npm ci
+ npm run build --if-present
+ env:
+ CI: true \ No newline at end of file