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

Cleanup deps #48

Merged
merged 6 commits into from
Nov 29, 2023
Merged
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
5 changes: 5 additions & 0 deletions .changeset/flat-cameras-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'gov4git-desktop-app': patch
---

Cleanup deps
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = {
'sort-imports': 'off',
'simple-import-sort/imports': 'error',
'no-void': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/space-before-function-paren': 'off',
'@typescript-eslint/indent': 'off',
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- name: Install Dependencies
run: npm install
run: |
npm install node-gyp
npm install --ignore-scripts

- name: CI Check
run: npm run ci:check
Expand Down
22 changes: 14 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ stages:
- task: NodeTool@0
inputs:
versionSource: 'spec'
versionSpec: '18.x'
- script: npm install
versionSpec: '20.x'
- script: npm install node-gyp
displayName: 'Install GYP'
- script: npm install --ignore-scripts
displayName: 'install'
- script: npm run build
displayName: 'Build'
Expand Down Expand Up @@ -45,8 +47,10 @@ stages:
- task: NodeTool@0
inputs:
versionSource: 'spec'
versionSpec: '18.x'
- script: npm install
versionSpec: '20.x'
- script: npm install node-gyp
displayName: 'Install GYP'
- script: npm install --ignore-scripts
displayName: 'install'
- script: npm run build
displayName: 'Build'
Expand All @@ -70,8 +74,10 @@ stages:
- task: NodeTool@0
inputs:
versionSource: 'spec'
versionSpec: '18.x'
- script: npm install
versionSpec: '20.x'
- script: npm install node-gyp
displayName: 'Install GYP'
- script: npm install --ignore-scripts
displayName: 'install'
- script: npm run build
displayName: 'Build'
Expand Down Expand Up @@ -211,8 +217,8 @@ stages:
- task: NodeTool@0
inputs:
versionSource: 'spec'
versionSpec: '18.x'
- script: npm install
versionSpec: '20.x'
- script: npm install --ignore-scripts
displayName: 'install'
- task: DownloadPipelineArtifact@2
inputs:
Expand Down
1 change: 1 addition & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ linux:
appImage:
artifactName: ${name}.${ext}
npmRebuild: true
buildDependenciesFromSource: true
publish:
- provider: github
protocol: https
Expand Down
Loading
Loading