Skip to content

Commit

Permalink
create release
Browse files Browse the repository at this point in the history
  • Loading branch information
connectshark committed Apr 17, 2024
1 parent 4f430cd commit 1b3bd83
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
changelog:
exclude:
authors:
- 'dependabot'
categories:
- title: 'New'
labels:
- 'type: feature'
- title: 'Improved'
labels:
- 'type: docs'
- 'type: style'
- title: 'Refactor'
labels:
- 'type: refactor'
- title: 'Fixed'
labels:
- 'type: bug(fix)'
- title: 'Documentation'
labels:
- 'type: docs'
- title: 'Other Changes'
labels:
- '*'
15 changes: 15 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'Create Release'

on:
push:
tags:
- 'v*.*.*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: 'Create Release'
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
14 changes: 14 additions & 0 deletions .github/workflows/generate-lables.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Generate Labels'

on:
pull_request:
types: [opened, edited, synchronize]

jobs:
label:
name: 'Label PR based on title'
runs-on: ubuntu-latest
steps:
- uses: srvaroa/labeler@v1.4
env:
GITHUB_TOKEN: ${{ github.token }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ node_modules
dist
dist-ssr
*.local
.env*

/cypress/videos/
/cypress/screenshots/
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# vue-tailwind-template
[![build status](https://github.com/connectshark/vue-tailwind-template/actions/workflows/deploy.yml/badge.svg?branch=main)](https://github.com/connectshark/vue-tailwind-template/actions/workflows/deploy.yml)
[![create-release](https://github.com/connectshark/vue-tailwind-template/actions/workflows/create-release.yml/badge.svg?branch=main)](https://github.com/connectshark/vue-tailwind-template/actions/workflows/create-release.yml)
[![GitHub last commit](https://img.shields.io/github/last-commit/connectshark/vue-tailwind-template.svg?style=flat)](https://github.com/connectshark/vue-tailwind-template)
![GitHub stars](https://img.shields.io/github/stars/connectshark/vue-tailwind-template.svg?style=social&label=Stars&style=plastic)

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"unplugin-vue-router": "^0.8.5",
"vite": "^5.2.7"
"vite": "^5.2.7",
"vite-plugin-vue-devtools": "^7.0.25"
}
}
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { fileURLToPath } from 'url'

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import VueDevTools from 'vite-plugin-vue-devtools'
import VueRouter from 'unplugin-vue-router/vite'

/** @type {import('vite').UserConfig} */
export default defineConfig({
plugins: [vue(), VueRouter()],
plugins: [vue(), VueRouter(), VueDevTools()],
server: {
port: 8080
},
Expand Down

0 comments on commit 1b3bd83

Please sign in to comment.