Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto release #55

Merged
merged 10 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,33 @@
name: Deploy to production
# name: Deploy to production
# on:
# push:
# tags:
# - 'v*'

# jobs:
# Deploy-Production:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Release to production
# run: |
# git push origin HEAD:main -f

name: Release
on:
push:
tags:
- 'v*'
branches:
- main

jobs:
Deploy-Production:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Release to production
- name: Create a release
run: |
git push origin HEAD:main -f
npx changelogen@latest gh release
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,59 @@
# Changelog


## v2.5.0

[compare changes](https://github.com/develit-io/test-repo/compare/v2.3.0...v2.5.0)

### 🚀 Enhancements

- Fix release script ([3cd7a70](https://github.com/develit-io/test-repo/commit/3cd7a70))

### 🩹 Fixes

- Lint ([d47886e](https://github.com/develit-io/test-repo/commit/d47886e))

### 🏡 Chore

- **release:** V2.4.0 ([c5e208d](https://github.com/develit-io/test-repo/commit/c5e208d))

### ❤️ Contributors

- Klein Petr ([@kleinpetr](http://github.com/kleinpetr))

## v2.4.0

[compare changes](https://github.com/develit-io/test-repo/compare/v2.3.0...v2.4.0)

### 🚀 Enhancements

- Fix release script ([3cd7a70](https://github.com/develit-io/test-repo/commit/3cd7a70))

### ❤️ Contributors

- Klein Petr ([@kleinpetr](http://github.com/kleinpetr))

## v2.3.0

[compare changes](https://github.com/develit-io/test-repo/compare/v2.2.0...v2.3.0)

### 🚀 Enhancements

- Use fs as cache storage ([53dc03c](https://github.com/develit-io/test-repo/commit/53dc03c))
- **cache:** Set vercelKV for cache ([be6695b](https://github.com/develit-io/test-repo/commit/be6695b))

### 🩹 Fixes

- Add storage cache base ([f39d4c5](https://github.com/develit-io/test-repo/commit/f39d4c5))

### 🤖 CI

- Playing with release ([2290e62](https://github.com/develit-io/test-repo/commit/2290e62))

### ❤️ Contributors

- Klein Petr ([@kleinpetr](http://github.com/kleinpetr))

## v2.2.0

[compare changes](https://github.com/develit-io/test-vercel-tags/compare/v2.1.0...v2.2.0)
Expand Down
5 changes: 5 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ export default defineNuxtConfig({
target: 'esnext',
},
},
storage: {
cache: {
driver: 'vercelKV',
},
},
},
vite: {
build: {
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"name": "develitesse-nuxt",
"version": "2.2.0",
"version": "2.5.0",
"private": true,
"packageManager": "[email protected]",
"repository": {
"type": "git",
"url": "[email protected]:develit-io/test-repo.git"
},
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
Expand All @@ -15,8 +19,7 @@
"taze:up": "taze major -I",
"test": "vitest",
"cleanup": "nuxt cleanup",
"release:bump": "changelogen --bump",
"release": "npx changelogen --release --push"
"release": "npx changelogen --bump"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
Expand All @@ -30,6 +33,7 @@
"@nuxtjs/color-mode": "^3.3.3",
"@pinia/nuxt": "^0.5.1",
"@unocss/nuxt": "^0.58.9",
"@vercel/kv": "^2.0.0",
"@vueuse/nuxt": "^10.9.0",
"changelogen": "^0.5.5",
"eslint": "^8.57.0",
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts" setup>
// dev test commit to be released next one
// direct release from main
// direct release from main
// release 2.0 aa
</script>

Expand Down
54 changes: 38 additions & 16 deletions pnpm-lock.yaml

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

Loading