Skip to content

Commit 153e0bb

Browse files
authored
Merge pull request #213 from woocommerce/tweak/bump-github-actions-deps
Bump dependencies for `github-actions` package and align Node.js dev version to 20
2 parents b25f52f + f5f9520 commit 153e0bb

File tree

8 files changed

+143
-184
lines changed

8 files changed

+143
-184
lines changed

packages/github-actions/actions/get-plugin-releases/src/get-plugin-releases.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* External dependencies
33
*/
4-
import core from '@actions/core';
4+
import * as core from '@actions/core';
55
import semverValid from 'semver/functions/valid.js';
66
import semverRcompare from 'semver/functions/rcompare.js';
77
import semverPrerelease from 'semver/functions/prerelease.js';

packages/github-actions/actions/get-release-notes/src/get-release-notes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* External dependencies
33
*/
4-
import github from '@actions/github';
5-
import core from '@actions/core';
4+
import * as github from '@actions/github';
5+
import * as core from '@actions/core';
66
import semver from 'semver';
77

88
/**

packages/github-actions/actions/prepare-node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ steps:
5959
- name: Prepare node
6060
uses: woocommerce/grow/prepare-node@actions-v2
6161
with:
62-
node-version: 18
62+
node-version: 20
6363
cache-dependency-path: "./packages/github-actions"
6464
```
6565

packages/github-actions/actions/update-version-tags/src/update-version-tags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* External dependencies
33
*/
4-
import github from '@actions/github';
5-
import core from '@actions/core';
4+
import * as github from '@actions/github';
5+
import * as core from '@actions/core';
66

77
/**
88
* Internal dependencies

packages/github-actions/package-lock.json

Lines changed: 131 additions & 172 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/github-actions/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"author": "WooCommerce",
1212
"license": "GPL-3.0-or-later",
1313
"engines": {
14-
"node": ">=18"
14+
"node": ">=20"
1515
},
1616
"dependencies": {
17-
"@actions/core": "^2.0.1",
18-
"@actions/github": "^6.0.1",
19-
"semver": "^7.7.3"
17+
"@actions/core": "^3.0.0",
18+
"@actions/github": "^9.0.0",
19+
"semver": "^7.7.4"
2020
},
2121
"devDependencies": {
2222
"@rollup/plugin-commonjs": "^29.0.0",

packages/github-actions/utils/handle-action-errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* External dependencies
33
*/
4-
import core from '@actions/core';
4+
import * as core from '@actions/core';
55

66
export default function handleActionErrors( e ) {
77
let message;

packages/github-actions/utils/repo-tool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* External dependencies
33
*/
4-
import github from '@actions/github';
4+
import * as github from '@actions/github';
55

66
/**
77
* Class operates a GitHub repository.

0 commit comments

Comments
 (0)