diff --git a/.github/workflows/build_and_functional_tests.yml b/.github/workflows/build_and_functional_tests.yml index a44b4f5..57efc76 100644 --- a/.github/workflows/build_and_functional_tests.yml +++ b/.github/workflows/build_and_functional_tests.yml @@ -16,9 +16,8 @@ jobs: Build: strategy: matrix: - os: [macos-latest, ubuntu-latest, windows-latest] + os: [macos-latest, ubuntu-latest] runs-on: ${{ matrix.os }} - continue-on-error: true steps: - name: Install dependencies @@ -35,25 +34,46 @@ jobs: - name: Packages installation run: npm install - # if: runner.os == 'Linux' - - - name: Packages tree - run: npm fund - - - name: Packages list - run: npm list - name: Compile run: npm run compile - name: Linter - run: npm run lint if: runner.os == 'Linux' + run: npm run lint - name: Test with Linux - run: xvfb-run -a npm test if: runner.os == 'Linux' + run: xvfb-run -a npm test - name: Test - run: npm test if: runner.os != 'Linux' + run: npm test + + Build_Windows: + strategy: + matrix: + os: [windows-latest] + runs-on: ${{ matrix.os }} + + steps: + - name: Clone + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: node + + - name: Packages installation + run: cmd.exe /c npm.cmd install + + - name: Compile + run: cmd.exe /c npm.cmd run compile + + - name: Linter + run: cmd.exe /c npm.cmd run lint + + - name: Test + run: cmd.exe /c npm.cmd test + \ No newline at end of file