Skip to content

Commit

Permalink
ci: bump gh actions versions for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Uninen committed Nov 14, 2024
1 parent 384a512 commit cd1d629
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["config:recommended", "group:all", "schedule:weekly", ":widenPeerDependencies"],
"enabledManagers": ["npm"],
"enabledManagers": ["npm", "github-actions"],
"packageRules": [
{
"matchManagers": ["npm"],
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,34 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4.2.2
- uses: pnpm/action-setup@v2.4.1
with:
version: 8
version: 9
run_install: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4.1.0
with:
node-version: 18
node-version: 22

- run: |
pnpm i --frozen-lockfile
pnpm build
- uses: JS-DevTools/npm-publish@v2
- uses: JS-DevTools/npm-publish@v3.1.1
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}

- name: Create Tag
if: ${{ steps.publish.outputs.type }}
id: create_tag
uses: jaywcjlove/create-tag-action@main
uses: jaywcjlove/create-tag-action@v2.2.0
with:
package-path: ./package.json

- name: Generate Changelog
id: changelog
uses: jaywcjlove/changelog-generator@main
uses: jaywcjlove/changelog-generator@v2.2.2
if: steps.create_tag.outputs.successful
with:
head-ref: ${{steps.create_tag.outputs.version}}
Expand All @@ -51,7 +51,7 @@ jobs:
run: echo "${{ steps.changelog.outputs.changelog }}"

- name: Create Release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@v1.14.0
if: steps.create_tag.outputs.successful
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit cd1d629

Please sign in to comment.