diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2ece6cb..5f09b53 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -26,11 +26,29 @@ jobs: restore-keys: | build-cache-v1- - name: Build ffmpeg-core - run: make ci + run: make ci ci-mt - name: Upload core and core-mt uses: actions/upload-artifact@v3 with: - name: cores + name: ffmpeg-cores path: | packages/core/dist/* packages/core-mt/dist/* + tests: + runs-on: ubuntu-latest + needs: build-core + steps: + - name: Checkout Source Code + uses: actions/checkout@v3 + - name: Download ffmpeg-cores + uses: actions/download-artifact@v3 + with: + name: ffmpeg-cores + - name: Use Node.js 16 + uses: actions/setup-node@v3 + with: + node-version: 16.x + - name: Install dependencies + run: npx lerna@5.4.3 bootstrap + - name: Run tests + run: npm test