Skip to content

Commit 5ce6f69

Browse files
author
Li Wei
committed
update ubuntu workflow
1 parent ba14613 commit 5ce6f69

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ubuntu.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,23 @@ jobs:
4141
${{ runner.os }}-
4242
4343
- name: Use Node.js ${{ matrix.node-version }}
44-
uses: actions/setup-node@v1
44+
uses: actions/setup-node@v2
4545
with:
4646
node-version: ${{ matrix.node-version }}
4747
- name: Install Dependencies
48-
run: npm i
48+
run: pnpm install
4949
- name: Check lint
50-
run: npm run lint
50+
run: pnpm run lint
5151
- name: Build the app
52-
run: npm run electron:build
52+
run: pnpm run electron:build
5353

5454
# - name: Run headless unit test
5555
# uses: GabrielBB/xvfb-action@v1
5656
# with:
57-
# run: npm test
57+
# run: pnpm test
5858

5959
# - name: Run headless e2e test
6060
# uses: GabrielBB/xvfb-action@v1
6161
# with:
62-
# run: npm run e2e
62+
# run: pnpm run e2e
6363

0 commit comments

Comments
 (0)