Skip to content

[SP-18628] Add Back-merge Workflow #198

[SP-18628] Add Back-merge Workflow

[SP-18628] Add Back-merge Workflow #198

name: run smoke test
on:
pull_request:
branches:
- master
- develop
- stable
jobs:
run_smoke_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm install
working-directory: ./examples/basic/esm
- run: node --unhandled-rejections=strict index.js
working-directory: ./examples/basic/esm
env:
API_BASE_PATH: "https://nightly-faceapi.regulaforensics.com"
- run: npm install
working-directory: ./examples/basic/cjs
- run: node --unhandled-rejections=strict index.js
working-directory: ./examples/basic/cjs
env:
API_BASE_PATH: "https://nightly-faceapi.regulaforensics.com"