run: npm run lint
continue-on-error: true
- name: npm run build
+ if: "matrix.os != 'windows-latest' || matrix.node != '16.x'"
run: npm run build
- name: npm test
+ if: "matrix.os != 'windows-latest' && matrix.node != '16.x'"
run: npm test
- name: npm run coverage
if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
build-docker:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os: [windows-latest, macos-latest, ubuntu-latest]
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx