Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
branches: [ main ]

jobs:
build:
install:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
node-version: [16.x]

steps:
Expand All @@ -27,11 +27,8 @@ jobs:
run: npm ci
- name: Build Library
run: npm run build --if-present
- name: Run Tests
run: npm test --if-present

install:

test:
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -40,11 +37,14 @@ jobs:
node-version: [16.x]

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Init npm
run: npm init -y
- name: Install package
run: npm i @netcentric/fe-build
- name: Install dependencies
run: npm ci
- name: test Library
run: npm run test --if-present