@ronaldphilipsen/local-action 7.0.1 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yaml +18 -5
- package/README.md +12 -4
- package/package.json +1 -1
|
@@ -39,6 +39,7 @@ jobs:
|
|
|
39
39
|
permissions:
|
|
40
40
|
contents: write # to be able to push commits and create releases
|
|
41
41
|
packages: write # to be able to publish to GitHub Packages
|
|
42
|
+
id-token: write # to be able to use npm trusted publishing
|
|
42
43
|
if:
|
|
43
44
|
${{ needs.semVersie.outputs.release == 'true' ||
|
|
44
45
|
needs.semVersie.outputs.prerelease == 'true' }}
|
|
@@ -62,13 +63,25 @@ jobs:
|
|
|
62
63
|
run: |
|
|
63
64
|
npm version "$VERSION" --no-git-tag-version
|
|
64
65
|
- name: npm publish
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
run: |
|
|
67
|
+
npm publish || {
|
|
68
|
+
echo "npm publish failed; checking if the version already exists..."
|
|
69
|
+
if npm view "@ronaldphilipsen/local-action@$VERSION" version --registry https://registry.npmjs.org; then
|
|
70
|
+
echo "$VERSION is already published; skipping"
|
|
71
|
+
else
|
|
72
|
+
exit 1
|
|
73
|
+
fi
|
|
74
|
+
}
|
|
75
|
+
- name: Install Node.js (GitHub Packages)
|
|
76
|
+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
|
|
77
|
+
timeout-minutes: 5
|
|
69
78
|
env:
|
|
70
79
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
71
|
-
|
|
80
|
+
with:
|
|
81
|
+
node-version: '26'
|
|
82
|
+
registry-url: 'https://npm.pkg.github.com'
|
|
83
|
+
- name: publish to GitHub Packages
|
|
84
|
+
run: npm publish
|
|
72
85
|
- name: Commit version bump
|
|
73
86
|
env:
|
|
74
87
|
GH_TOKEN: ${{ github.token }}
|
package/README.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# Local Action Debugger
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+

|
|
5
4
|

|
|
6
5
|
|
|
6
|
+
> [!IMPORTANT]
|
|
7
|
+
>
|
|
8
|
+
> This is a fork of
|
|
9
|
+
> [`github/local-action`](https://github.com/github/local-action), republished
|
|
10
|
+
> as
|
|
11
|
+
> [`@ronaldphilipsen/local-action`](https://www.npmjs.com/package/@ronaldphilipsen/local-action)
|
|
12
|
+
> with **Node.js 26 support**. Releases are published to npm (via trusted
|
|
13
|
+
> publishing) and to GitHub Packages.
|
|
14
|
+
|
|
7
15
|
Run custom GitHub Actions locally and test them in Visual Studio Code!
|
|
8
16
|
|
|
9
17
|
This command-line tool emulates some **basic** functionality of the
|
|
@@ -30,8 +38,8 @@ See the [CHANGELOG](./CHANGELOG.md) for a complete list of changes.
|
|
|
30
38
|
|
|
31
39
|
## Node.js Version Support
|
|
32
40
|
|
|
33
|
-
This tool is currently tested against **Node.js versions 22 and
|
|
34
|
-
guaranteed to work with other versions at this time.
|
|
41
|
+
This tool is currently tested against **Node.js versions 22, 24 and 26**. It is
|
|
42
|
+
not guaranteed to work with other versions at this time.
|
|
35
43
|
|
|
36
44
|
## Package Manager Support
|
|
37
45
|
|