Skip to content

Commit fc429dd

Browse files
Bump Dependencies (#1574)
* Bump Dependencies * Bump minimum node version to 18 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: campersau <buchholz.bastian@googlemail.com>
1 parent 1129f54 commit fc429dd

File tree

6 files changed

+181
-185
lines changed

6 files changed

+181
-185
lines changed

.github/workflows/bump.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Use Node.js
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '16'
22+
node-version: '18'
2323

2424
- run: npm ci
2525
- run: |

.github/workflows/ci.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
node-version: ['16', '18', '20']
10+
node-version: ['18', '20', '21']
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
runs-on: ${{ matrix.os }}
1313
# env:
@@ -25,17 +25,17 @@ jobs:
2525

2626
# linux dependencies
2727
- run: sudo apt update && sudo apt install -y wine64
28-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
28+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
2929
- run: wine --version
30-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
30+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
3131
- run: sudo add-apt-repository ppa:git-core/ppa -y && sudo apt-get update -q && sudo apt-get install -y git
3232
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '*'
3333
# macos dependencies
3434
# required for electron-packager
3535
# - run: brew update && brew cask install xquartz wine-stable
36-
# if: matrix.os == 'macos-latest' && matrix.node-version == '16'
36+
# if: matrix.os == 'macos-latest' && matrix.node-version == '18'
3737
# - run: wine64 --version
38-
# if: matrix.os == 'macos-latest' && matrix.node-version == '16'
38+
# if: matrix.os == 'macos-latest' && matrix.node-version == '18'
3939
- run: brew reinstall git
4040
if: matrix.os == 'macos-latest' && matrix.node-version == '*'
4141
# windows dependencies
@@ -52,92 +52,92 @@ jobs:
5252

5353
- run: npm ci
5454
- run: npm run lint
55-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
55+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
5656
- run: npm run build
5757
- run: npm test
5858

5959
# publish artifacts
6060
- run: npm pack
61-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
61+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
6262
- run: npm run electronpackage -- --all
63-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
63+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
6464
- run: npm run electronzip
65-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
65+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
6666

6767
- name: Upload npm pack
68-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
68+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
6969
uses: actions/upload-artifact@v3
7070
with:
7171
name: ungit
7272
path: ungit-*.tgz
7373
retention-days: 7
7474

7575
- name: Upload ungit-darwin-arm64
76-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
76+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
7777
uses: actions/upload-artifact@v3
7878
with:
7979
name: ungit-darwin-arm64
8080
path: dist/ungit-darwin-arm64.zip
8181
retention-days: 7
8282

8383
- name: Upload ungit-darwin-x64
84-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
84+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
8585
uses: actions/upload-artifact@v3
8686
with:
8787
name: ungit-darwin-x64
8888
path: dist/ungit-darwin-x64.zip
8989
retention-days: 7
9090

9191
- name: Upload ungit-linux-arm64
92-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
92+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
9393
uses: actions/upload-artifact@v3
9494
with:
9595
name: ungit-linux-arm64
9696
path: dist/ungit-linux-arm64.zip
9797
retention-days: 7
9898

9999
- name: Upload ungit-linux-armv7l
100-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
100+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
101101
uses: actions/upload-artifact@v3
102102
with:
103103
name: ungit-linux-armv7l
104104
path: dist/ungit-linux-armv7l.zip
105105
retention-days: 7
106106

107107
- name: Upload ungit-linux-x64
108-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
108+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
109109
uses: actions/upload-artifact@v3
110110
with:
111111
name: ungit-linux-x64
112112
path: dist/ungit-linux-x64.zip
113113
retention-days: 7
114114

115115
- name: Upload ungit-win32-arm64
116-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
116+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
117117
uses: actions/upload-artifact@v3
118118
with:
119119
name: ungit-win32-arm64
120120
path: dist/ungit-win32-arm64.zip
121121
retention-days: 7
122122

123123
- name: Upload ungit-win32-ia32
124-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
124+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
125125
uses: actions/upload-artifact@v3
126126
with:
127127
name: ungit-win32-ia32
128128
path: dist/ungit-win32-ia32.zip
129129
retention-days: 7
130130

131131
- name: Upload ungit-win32-x64
132-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16'
132+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
133133
uses: actions/upload-artifact@v3
134134
with:
135135
name: ungit-win32-x64
136136
path: dist/ungit-win32-x64.zip
137137
retention-days: 7
138138

139139
- name: npm publish
140-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16' && github.repository == 'FredrikNoren/ungit' && github.ref == 'refs/heads/master'
140+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18' && github.repository == 'FredrikNoren/ungit' && github.ref == 'refs/heads/master'
141141
uses: actions/github-script@v6
142142
env:
143143
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Quick intro to ungit: [https://youtu.be/hkBVAi3oKvo](https://youtu.be/hkBVAi3oKv
2626

2727
Installing
2828
----------
29-
Requires [node.js](https://nodejs.org) (≥ 16), [npm](https://www.npmjs.com/) (≥ 8.19.4, comes with node.js) and [git](https://git-scm.com/) (≥ 2.34.x). To install ungit just type:
29+
Requires [node.js](https://nodejs.org) (≥ 18), [npm](https://www.npmjs.com/) (≥ 9.8.1, comes with node.js) and [git](https://git-scm.com/) (≥ 2.34.x). To install ungit just type:
3030

3131
npm install -g ungit
3232

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ image: Visual Studio 2022
44
environment:
55
matrix:
66
- nodejs_version: '' # latest
7+
- nodejs_version: '20'
78
- nodejs_version: '18'
8-
- nodejs_version: '16'
99

1010
branches:
1111
only:

0 commit comments

Comments
 (0)