CI: Add build step.

This commit is contained in:
Joachim Bauch 2021-11-11 10:23:20 +01:00
parent 47bf193a16
commit e860bdf341
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

29
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Build
on:
pull_request:
push:
branches:
- master
jobs:
javascript:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build