Skip to content

Commit 4d03aa1

Browse files
committed
install this package as a dependency in a clean project
1 parent af3534c commit 4d03aa1

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/CI.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,37 @@ jobs:
174174
pnpm install -g electron@latest
175175
xvfb-run --auto-servernum pnpm run test.electron.main
176176
continue-on-error: true
177+
smoke-test:
178+
runs-on: ${{ matrix.os }}
179+
strategy:
180+
matrix:
181+
os:
182+
- ubuntu-latest
183+
- windows-latest
184+
- macos-latest
185+
pm:
186+
- npm
187+
- yarn
188+
- pnpm
189+
steps:
190+
- uses: actions/checkout@v4
191+
with:
192+
path: repo
193+
- uses: actions/setup-node@v4
194+
- run: npm init -y
195+
196+
- if: ${{ matrix.pm }} == "npm"
197+
run: |
198+
npm install ${{ github.workspace }}/repo
199+
200+
- if: ${{ matrix.pm }} == "pnpm"
201+
run: |
202+
npm install -g pnpm
203+
pnpm add ${{ github.workspace }}/repo
204+
205+
- if: ${{ matrix.pm }} == "yarn"
206+
run: |
207+
npm install -g yarn
208+
yarn set version stable
209+
yarn install
210+
yarn add ${{ github.workspace }}/repo

0 commit comments

Comments
 (0)