Skip to content

Commit 3b23335

Browse files
ci: upgrade the setup-node and publish-github-action actions (#103)
* ci: bump the github-actions group with 2 updates Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [joshjohanning/publish-github-action](https://github.com/joshjohanning/publish-github-action). Updates `actions/setup-node` from 5 to 6 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v5...v6) Updates `joshjohanning/publish-github-action` from 1 to 2 - [Release notes](https://github.com/joshjohanning/publish-github-action/releases) - [Commits](joshjohanning/publish-github-action@v1...v2) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: joshjohanning/publish-github-action dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]> * chore: remove unnecessary node setup and packaging steps from publish workflow --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Johanning <[email protected]>
1 parent 08a61e1 commit 3b23335

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v5
1919

2020
- name: Setup Node.js
21-
uses: actions/setup-node@v5
21+
uses: actions/setup-node@v6
2222
with:
2323
node-version: '20'
2424
cache: 'npm'

.github/workflows/publish.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v5
16-
- uses: actions/setup-node@v5
17-
with:
18-
node-version: 20
19-
cache: 'npm'
20-
- name: Install dependencies
21-
run: npm ci
22-
- name: Package the action
23-
run: npm run package
24-
- uses: joshjohanning/publish-github-action@v1
16+
- uses: joshjohanning/publish-github-action@v2
2517
with:
2618
github_token: ${{ secrets.GITHUB_TOKEN }}
2719
npm_package_command: npm run package

0 commit comments

Comments
 (0)