Skip to content

Commit 8410a82

Browse files
committed
fix(ci): use .mjs
1 parent e9514d7 commit 8410a82

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/manifest/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ outputs:
66
description: 'the name of the file.'
77

88
runs:
9-
using: 'node16'
10-
main: 'index.js'
9+
using: 'node20'
10+
main: 'index.mjs'

.github/workflows/manifest/index.js renamed to .github/workflows/manifest/index.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const core = require('@actions/core');
2-
const github = require('@actions/github');
3-
const fs = require('fs');
1+
import * as core from '@actions/core';
2+
import * as github from '@actions/github';
3+
import * as fs from 'fs';
44

55
try {
66
const json = fs.readFileSync('manifest.json').toString();

0 commit comments

Comments
 (0)