Skip to content

Commit

Permalink
install this package as a dependency in a clean project
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Jun 18, 2024
1 parent af3534c commit 4d03aa1
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,37 @@ jobs:
pnpm install -g electron@latest
xvfb-run --auto-servernum pnpm run test.electron.main
continue-on-error: true
smoke-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
pm:
- npm
- yarn
- pnpm
steps:
- uses: actions/checkout@v4
with:
path: repo
- uses: actions/setup-node@v4
- run: npm init -y

- if: ${{ matrix.pm }} == "npm"
run: |
npm install ${{ github.workspace }}/repo
- if: ${{ matrix.pm }} == "pnpm"
run: |
npm install -g pnpm
pnpm add ${{ github.workspace }}/repo
- if: ${{ matrix.pm }} == "yarn"
run: |
npm install -g yarn
yarn set version stable
yarn install
yarn add ${{ github.workspace }}/repo

0 comments on commit 4d03aa1

Please sign in to comment.