Skip to content

Commit

Permalink
feat: workflows auto release by changelogithub
Browse files Browse the repository at this point in the history
  • Loading branch information
pacmandoh committed Mar 27, 2024
1 parent c066e5e commit 2da576e
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 0 deletions.
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@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 16.x

- run: npx changelogithub # or [email protected] if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "model",
"private": true,
"type": "module",
"version": "0.1.0",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
Expand All @@ -16,6 +17,7 @@
"@nuxt/devtools": "^1.1.4",
"@nuxt/eslint-config": "^0.2.0",
"@types/three": "^0.162.0",
"changelogithub": "^0.13.5",
"eslint": "^8.57.0",
"nuxt": "^3.11.1",
"vue": "^3.4.21",
Expand Down
107 changes: 107 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2da576e

Please sign in to comment.