Skip to content

Make courses Embeddable in docs site #127

Make courses Embeddable in docs site

Make courses Embeddable in docs site #127

# .github/workflows/ci-pkg-courseware.yml
name: ci-pkg-courseware
on:
push:
paths:
- 'packages/courseware/**'
- '.github/workflows/ci-pkg-courseware.yml'
pull_request:
paths:
- 'packages/courseware/**'
- 'packages/common/**'
- 'packages/db/**'
- 'packages/common-ui/**'
- '.github/workflows/ci-pkg-courseware.yml'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Build @vue-skuilder/common
run: |
cd packages/common
yarn build
- name: Build @vue-skuilder/db
run: |
cd packages/db
yarn build
- name: Build @vue-skuilder/common-ui
run: |
cd packages/common-ui
yarn build
- name: Build @vue-skuilder/courseware
run: |
cd packages/courseware
yarn build
- name: Run tests for @vue-skuilder/courseware
run: |
cd packages/courseware
yarn test
- name: Report test results
if: always()
run: |
echo "CourseWare package tests completed with status: ${{ job.status }}"