From b99ac83c22c789395691f8eeec996df3294c2e5a Mon Sep 17 00:00:00 2001 From: Dragan Filipovic Date: Mon, 9 Oct 2023 10:23:20 +0200 Subject: [PATCH] #97 add npm i test for windows --- .github/workflows/ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7e19dc..0268c8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, windows-latest] node-version: [16.x] steps: @@ -29,3 +29,22 @@ jobs: run: npm run build --if-present - name: Run Tests run: npm test --if-present + + install: + + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + node-version: [16.x] + + steps: + - 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