mirror of
https://github.com/joinmarket-webui/jam.git
synced 2026-08-17 13:07:34 +02:00
* dev: enable engine-strict to enforce specified npm/node min versions * dev: update npm min version from v7.0.0 to v8.0.0 * dev: update node min version from v16.0.0 to v16.11.0
38 lines
747 B
YAML
38 lines
747 B
YAML
name: Build
|
|
|
|
on:
|
|
# Run the build for pushes and pull requests targeting master
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: ['16.11.0']
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
# Setup Node
|
|
- name: Setup (Node.js ${{ matrix.node-version }})
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
# Install
|
|
- name: Install
|
|
run: npm ci
|
|
# Checks
|
|
- name: Lint
|
|
run: npm run lint
|
|
# Test
|
|
- name: Test
|
|
run: npm test
|
|
# Build
|
|
- name: Build
|
|
run: npm run build
|