mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 19:34:34 +00:00
31 lines
611 B
YAML
31 lines
611 B
YAML
name: SASjs Server Build
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
- name: Check Code Style
|
|
run: npm run lint
|
|
- name: Run Unit Tests
|
|
run: npm test
|
|
- name: Build Package
|
|
run: npm run package:lib
|
|
env:
|
|
CI: true
|