Skip to content

Commit

Permalink
Update runtime to node20. (#27)
Browse files Browse the repository at this point in the history
* Update runtime to node20.

* Remove unused variable.
  • Loading branch information
teo-tsirpanis authored Jun 16, 2024
1 parent 8b29707 commit 165810d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:

steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: ./
with:
version: '${{ matrix.version }}'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ inputs:
description: 'Proxy server'
required: false
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
1 change: 0 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ const URL = __webpack_require__(835).URL
const { https } = __webpack_require__(549)
const AdmZip = __webpack_require__(639)
const HttpsProxyAgent = __webpack_require__(338)
var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';

const selectPlatforn = (platform) =>
platform ? [null, platform] :
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const URL = require('url').URL
const { https } = require('follow-redirects')
const AdmZip = require('adm-zip')
const HttpsProxyAgent = require('https-proxy-agent')
var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';

const selectPlatforn = (platform) =>
platform ? [null, platform] :
Expand Down

0 comments on commit 165810d

Please sign in to comment.