Skip to content

Commit 2a0e139

Browse files
author
Jakub N
authored
node bump to v20 due to fetch incompatibility (#32)
* Update Fetch implementation * node v18 setup * ci: update pr_validation.yml * ci: update pr_validation.yml * ci: update testing.yml * update pr_validation.yml, testing.yml and action.yml * chore: update action.yml
1 parent 7831566 commit 2a0e139

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed

.github/workflows/testing.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
cancel-in-progress: false
1818
env:
1919
user: ${{ vars.USER }}
20-
steps:
20+
21+
steps:
2122
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
2223
# make sure we have a new build, in case the dist folder was not updated
2324
- name: Compile with NPM

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ outputs:
3636
actions-file-path:
3737
description: 'Path to the file that contains a list of all actions available in the organization or user space'
3838
runs:
39-
using: 'node16'
39+
using: 'node20'
4040
main: 'dist/main.js'

dist/main.js

+16-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import dotenv from 'dotenv'
1010
import fs from 'fs'
1111
import path from 'path'
1212
import {getReadmeContent} from './optionalActions'
13-
1413
import {execSync} from 'child_process'
1514
import {Buffer} from 'buffer'
1615
import {encode} from 'html-entities'

0 commit comments

Comments
 (0)