Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 88ac315

Browse files
authored
Merge pull request #2 from codiga/juli1/fix-pipeline
Fix pipeline
2 parents 9cf5e20 + 31db592 commit 88ac315

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+216
-299
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = {
1111
'@typescript-eslint/no-non-null-assertion': 'off',
1212
'react/require-default-props': [2, { functions: 'defaultArguments' }],
1313
'import/prefer-default-export': 'off',
14+
'@typescript-eslint/ban-ts-comment': 'off',
1415
},
1516
parserOptions: {
1617
ecmaVersion: 2020,

.github/FUNDING.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/1-Bug_report.md

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/2-Question.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/3-Feature_request.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/config.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/stale.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build/release
1+
name: Build and Release
22

33
on: push
44

@@ -21,7 +21,9 @@ jobs:
2121
- name: Install packages
2222
run: npm install
2323
- name: Run tests
24-
run: npm test
24+
run: npm run build && npm test
25+
- name: Build the Electron App
26+
run: npm run package
2527
- name: Build/release Electron app
2628
uses: samuelmeuli/action-electron-builder@v1
2729
with:

.github/workflows/test.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Test, Lint and Package
22

33
on: [push, pull_request]
44

@@ -15,20 +15,14 @@ jobs:
1515
uses: actions/checkout@v1
1616

1717
- name: Install Node.js and NPM
18-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v1
1919
with:
20-
node-version: 16
21-
cache: npm
22-
23-
- name: npm install
24-
run: |
25-
npm install
26-
27-
- name: npm test
28-
env:
29-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
run: |
31-
npm run package
32-
npm run lint
33-
npm exec tsc
34-
npm test
20+
node-version: 14
21+
- name: Install Packages
22+
run: npm install
23+
- name: Build and Test
24+
run: npm run build && npm test
25+
- name: Lint
26+
run: npm run lint
27+
- name: Package
28+
run: npm run package

package-lock.json

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)