Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Replace yarn with npm #906

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
with:
node-version-file: 'package.json'
- name: Install
run: yarn install
run: npm install
- name: Build
run: yarn build
run: npm run build
- name: Pack
run: yarn pack
run: npm run pack
- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
Expand All @@ -43,9 +43,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- run: yarn install
- run: npm run install
- name: Run Linter
run: yarn lint
run: npm run lint

test:
name: Unit Tests
Expand All @@ -61,10 +61,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- run: yarn install
- run: npm install
- name: Run Unit Tests
timeout-minutes: 10
run: yarn test
run: npm run test

e2e:
name: E2E Tests
Expand All @@ -82,10 +82,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- run: yarn install
- run: npm install
- name: Run E2E Tests
timeout-minutes: 30
run: yarn e2e
run: npm run e2e

required_jobs_passed:
name: All required jobs passed or were skipped
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/new-electron-versions-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
- run: yarn install
- run: npm install
- name: Update Versions
run: yarn update-electron-versions
run: npm run update-electron-versions
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/new-sdk-versions-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
- run: yarn install
- run: npm install
- name: Update Versions
run: yarn update-sdk-versions
run: npm run update-sdk-versions
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion examples/electron-forge-webpack/recipe.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: Electron Forge Webpack with contextIsolation and sandbox
command: yarn && yarn package
command: npm install && npm run package
condition: supportsContextIsolation && supportsSandbox
timeout: 120
skipEsmAutoTransform: true
Loading
Loading