Fixed broken test #835
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: CI | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup NodeJs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.11.1' | |
# not using 'npm ci' because it fails | |
- run: npm install | |
- run: npm run test-lib-ci --configuration=ci | |
- run: npm run build-lib | |
- run: npm install ./dist/scuba-physics --no-package-lock | |
- run: npm run test-ci --configuration=ci | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2.15.1 | |
if: always() | |
with: | |
JUNIT_FILES: test-results/**/*.xml | |