Merge pull request #282 from camunda/fix-229 #286
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: [push] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" # Specify a Node.js version | |
- name: Install dependencies | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Run Unit Tests | |
run: | | |
npm run test | |
# unit-tests-windows: | |
# runs-on: windows-2019 | |
# steps: | |
# - name: Check out the repo | |
# uses: actions/checkout@v4 | |
# - name: Use Node.js | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: "20" # Specify a Node.js version | |
# - name: Install dependencies | |
# run: npm install | |
# - name: Build | |
# run: npm run build | |
# - name: Build and Smoke Test | |
# run: npm run test:smoketest | |
# - name: Run Unit Tests | |
# run: | | |
# npm run test |