easingthemes-ssh-deploy/.github/workflows/build.yml
Dragan Filipovic 12adb9b839 BREAKING CHANGE: update to use nodeJS v16
Since it's used in Github environment it should not have any impact in usage.
Just in case major version updated.

Fixes #82
2022-10-28 03:44:28 +02:00

32 lines
625 B
YAML

name: Build
on:
push:
branches: [ '**' ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build Library
run: npm run build
- name: Run Tests
run: npm test --if-present