Skip to content

Commit

Permalink
Merge branch 'temp/temp' into temp/omer
Browse files Browse the repository at this point in the history
  • Loading branch information
omermorad committed Jan 21, 2025
2 parents 0ce7af9 + 207cf27 commit efd8968
Show file tree
Hide file tree
Showing 22 changed files with 10,825 additions and 156,384 deletions.
Binary file added .DS_Store
Binary file not shown.
32 changes: 18 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4


- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand All @@ -25,13 +29,13 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-modules-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Yarn
run: yarn --frozen-lockfile
- name: PNPM
run: pnpm install --frozen-lockfile

- name: Build
run: yarn build
run: pnpm run build

lint:
name: Lint
Expand All @@ -48,16 +52,16 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-modules-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Yarn
run: yarn --frozen-lockfile
- name: PNPM
run: pnpm install --frozen-lockfile

- name: Lint
run: yarn lint
run: pnpm run lint

- name: Validate Packages
run: yarn manypkg check
run: pnpm manypkg check

test:
name: Test
Expand All @@ -77,16 +81,16 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-modules-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Yarn
run: yarn --frozen-lockfile
- name: PNPM
run: pnpm install --frozen-lockfile

- name: Create Coverage Directory
run: mkdir -p ${{ github.workspace }}/coverage

- name: Test
run: yarn lerna exec yarn test --scope @suites/${{ matrix.project }}
run: pnpm --filter @contractual/${{ matrix.project }} run test
env:
JEST_JUNIT_OUTPUT_NAME: ${{ matrix.project }}.xml
JEST_JUNIT_OUTPUT_DIR: ${{ github.workspace }}/test-reports
Expand Down
Loading

0 comments on commit efd8968

Please sign in to comment.