Underground-Digital/Workflow-Engine
0
1name: Run Unit Test For SDKs2 3on:4 pull_request:5 branches:6 - main7 paths:8 - sdks/**9 10concurrency:11 group: sdk-tests-${{ github.head_ref || github.run_id }}12 cancel-in-progress: true13 14jobs:15 build:16 name: unit test for Node.js SDK17 runs-on: ubuntu-latest18 19 strategy:20 matrix:21 node-version: [16, 18, 20]22 23 defaults:24 run:25 working-directory: sdks/nodejs-client26 27 steps:28 - uses: actions/checkout@v429 30 - name: Use Node.js ${{ matrix.node-version }}31 uses: actions/setup-node@v432 with:33 node-version: ${{ matrix.node-version }}34 cache: ''35 cache-dependency-path: 'yarn.lock'36 37 - name: Install Dependencies38 run: yarn install39 40 - name: Test41 run: yarn test42 