Skip to content

Commit

Permalink
Update runs.using to node16
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Nov 7, 2022
1 parent ae604a1 commit f8a3b53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function (main, filename) {

// Overwrite the existing fields
config.runs = {
using: "node12",
using: "node16",
main,
};

Expand Down
4 changes: 2 additions & 2 deletions index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ test("success (default main)", () => {

const expected = `name: Test Action
runs:
using: node12
using: node16
main: dist/index.js
`;

Expand All @@ -57,7 +57,7 @@ test("success (specified main)", () => {
mockActionYaml();
const expected = `name: Test Action
runs:
using: node12
using: node16
main: index.dist.js
`;

Expand Down

0 comments on commit f8a3b53

Please sign in to comment.