aboutsummaryrefslogtreecommitdiff
path: root/static/presentations/2021-11-13/garage/.github/workflows/js.yml
diff options
context:
space:
mode:
Diffstat (limited to 'static/presentations/2021-11-13/garage/.github/workflows/js.yml')
-rw-r--r--static/presentations/2021-11-13/garage/.github/workflows/js.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/static/presentations/2021-11-13/garage/.github/workflows/js.yml b/static/presentations/2021-11-13/garage/.github/workflows/js.yml
new file mode 100644
index 0000000..d28e02d
--- /dev/null
+++ b/static/presentations/2021-11-13/garage/.github/workflows/js.yml
@@ -0,0 +1,24 @@
+name: tests
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [10.x, 14.x, 16.x]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - run: npm install
+ - run: npm run build --if-present
+ - run: npm test
+ env:
+ CI: true