Skip to content

fix(ui5-tooling-modules): ensure scoping suffix is set before define of modules #772

fix(ui5-tooling-modules): ensure scoping suffix is set before define of modules

fix(ui5-tooling-modules): ensure scoping suffix is set before define of modules #772

Workflow file for this run

name: "Tests: middleware(s) + task(s)"
on:
pull_request:
branches: [main]
env:
HUSKY_SKIP: true
jobs:
build:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
with:
version: 9.1.2
run_install: false
- id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path | tr -d '\n')" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm-cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
# test executes all task extensions
- name: Build app
run: pnpm build
- name: Run tests on middlewares + tasks
run: pnpm run test:all