Skip to content

fix: fix debug in error reporting #9

fix: fix debug in error reporting

fix: fix debug in error reporting #9

name: Node CI - non-main
on:
push:
branches-ignore:
- main
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Get current date
id: get-date
run: |
echo "NOW=$(date +'%Y%m%dT%H%M%S')" >> $GITHUB_ENV
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
- name: Get Version From package.json
id: get-version
uses: beaconbrigade/package-json-version@v0.3
with:
path: .
- uses: ./.github/actions/nodeci-build-windows
with:
name: vlc-rpc-v${{steps.get-version.outputs.version}}-nightly${{env.NOW}}-bundled-win-x64
- uses: ./.github/actions/nodeci-build-linux
with:
name: vlc-rpc-v${{steps.get-version.outputs.version}}-nightly${{env.NOW}}-bundled-linux-x64
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: output/test/code-coverage.html