Skip to content

Commit

Permalink
chore: make use of pnpm & update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
timeowilliams committed Sep 22, 2024
1 parent d8cb99a commit 581b727
Show file tree
Hide file tree
Showing 10 changed files with 10,845 additions and 20,764 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ jobs:
with:
node-version: '20'

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: npm ci
run: pnpm install

- name: Install Playwright Browsers
run: npx playwright install --with-deps
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: npm clean-install
run: pnpm install

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Release
Expand Down
2 changes: 2 additions & 0 deletions build/entitlements.mac.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.automation.apple-events</key>
<true/>
</dict>
</plist>
3 changes: 2 additions & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ extraResources:
asar: true
asarUnpack:
- 'resources/**'
- 'node_modules/get-windows/main'
- 'node_modules/@deepfocus/get-windows/**/*'
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
NSCameraUsageDescription: Application requests access to the device's camera.
NSMicrophoneUsageDescription: Application requests access to the device's microphone.
NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
NSAppleEventsUsageDescription: Please allow access to script browser applications to detect the current URL when triggering instant lookup
notarize: true
dmg:
artifactName: ${name}-${version}.${ext}
Expand Down
Loading

0 comments on commit 581b727

Please sign in to comment.