Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 11 additions & 21 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,16 @@ jobs:
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ matrix.node-version }}
- name: Bootstrap
run: |
npm ci --ignore-scripts
npx lerna bootstrap
- name: Install dependencies
run: npm ci
- name: Build
run: node packages/build/bin/compile-package -b
- name: Run package tests
run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "packages/*/dist/__tests__/**/*.js" "packages/build/test/**/*.js"
- name: Run extension tests
run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "extensions/*/dist/__tests__/**/*.js"
- name: Run example tests
run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "examples/*/dist/__tests__/**/*.js"
run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "examples/*/dist/__tests__/**/*.js" --exclude "examples/webpack/**"
- name: Generate coverage report
run: node packages/build/bin/run-nyc report --reporter=lcov
- name: Publish coverage report to Coveralls
Expand Down Expand Up @@ -78,10 +76,8 @@ jobs:
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18 # LTS
- name: Bootstrap
run: |
npm ci --ignore-scripts
npx lerna bootstrap --scope "@loopback/benchmark" --include-dependencies
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build
run: npx lerna run build --scope "@loopback/benchmark"
- name: Run benchmark tests
Expand All @@ -95,10 +91,8 @@ jobs:
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18 # LTS
- name: Bootstrap
run: |
npm ci --ignore-scripts
npx lerna bootstrap
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build
run: node packages/build/bin/compile-package -b
- name: Verify code linting
Expand All @@ -121,10 +115,8 @@ jobs:
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18 # LTS
- name: Bootstrap
run: |
npm ci --ignore-scripts
npx lerna bootstrap --scope "@loopback/monorepo" --include-dependencies
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Verify commit linting
run: npx commitlint --from origin/master --to HEAD --verbose

Expand All @@ -136,10 +128,8 @@ jobs:
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18 # LTS
- name: Bootstrap
run: |
npm ci --ignore-scripts
npx lerna bootstrap
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build
run: node packages/build/bin/compile-package -b
- name: Verify linting
Expand Down
Loading