This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
fix(packagediff): fix packages being built when the path to package start with same structure #1865
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unique name for this workflow | |
name: Validate PR and Run Tests | |
# Definition when the workflow should run | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- develop | |
- main | |
# Jobs to be executed | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
registry-url: 'https://registry.npmjs.org' | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: 'Install Dependencies' | |
run: pnpm i | |
- run: npx lerna run build | |
- run: npx lerna run test -- --colors | |
- run: bash <(curl -s https://codecov.io/bash) -v | |