Skip to content

Commit

Permalink
chore: github release fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Nov 9, 2024
1 parent 0000ed6 commit 9840833
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: lts/*
cache: "pnpm"
- run: pnpm install

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [22]

steps:
- uses: actions/checkout@v4

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '22'
node-version: lts/*
cache: pnpm

- name: Cache .
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [22]

steps:
- uses: actions/checkout@v4

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '22'
node-version: lts/*
cache: pnpm

- name: 📦 Install dependencies
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version: lts/*

- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 9840833

Please sign in to comment.