Skip to content

Commit

Permalink
update electron version for tests + update CI actions & electron vers…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
arantes555 committed Jul 17, 2024
1 parent 2de9674 commit 692a6ff
Show file tree
Hide file tree
Showing 4 changed files with 598 additions and 525 deletions.
54 changes: 41 additions & 13 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node.js 14
uses: actions/setup-node@v2
- uses: actions/checkout@v4
- name: Install Node.js 20
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 20.x
cache: 'npm'
- run: npm ci
- run: npm run lint
Expand All @@ -20,21 +20,49 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
electron-version: [ 5.0.13, 6.1.12, 7.3.3, 8.5.5, 9.4.4, 10.4.7, 11.5.0, 12.2.3, 13.6.9, 14.2.9, 15.5.7, 16.2.8, 17.4.11, 18.3.15, 19.1.0, 20.2.0, 21.0.0 ]
formdata-version: [ 4.0.0 ]
electron-version:
- 5.0.13
- 6.1.12
- 7.3.3
- 8.5.5
- 9.4.4
- 10.4.7
- 11.5.0
- 12.2.3
- 13.6.9
- 14.2.9
- 15.5.7
- 16.2.8
- 17.4.11
- 18.3.15
- 19.1.9
- 20.3.12
- 21.4.4
- 22.3.27
- 23.3.13
- 24.8.8
- 25.9.8
- 26.6.10
- 27.3.11
- 28.3.3
- 29.4.5
- 30.2.0
- 31.2.1
formdata-version:
- 4.0.0
include:
- electron-version: 21.0.0
- electron-version: 31.2.1
formdata-version: 1.0.0
- electron-version: 21.0.0
- electron-version: 31.2.1
formdata-version: 2.5.1
- electron-version: 21.0.0
- electron-version: 31.2.1
formdata-version: 3.0.1
steps:
- uses: actions/checkout@v2
- name: Install Node.js 14
uses: actions/setup-node@v2
- uses: actions/checkout@v4
- name: Install Node.js 20
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 20.x
cache: 'npm'
- run: npm ci
- run: if [ "${{ matrix.electron-version }}" ]; then npm install electron@^${{ matrix.electron-version }}; fi
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
node-version: 20.x
cache: 'npm'
- run: npm ci
- run: npm run prepublishOnly
- id: get_npm_label
Expand Down
Loading

0 comments on commit 692a6ff

Please sign in to comment.