2 Commits

Author SHA1 Message Date
YunYouJun
4ea6b9d1f2 chore: release v1.1.2 2023-07-30 18:32:34 +08:00
YunYouJun
7e6ea7d94b ci: add release action 2023-07-30 18:31:50 +08:00
3 changed files with 40 additions and 2 deletions

38
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
# after pnpm
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Install dependencies
run: pnpm install
- run: npm run generate --if-present
- uses: actions/upload-artifact@v3
with:
name: Dist
path: dist
- run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

View File

@@ -3,7 +3,7 @@ import { storeToRefs } from 'pinia'
const rStore = useRecipeStore() const rStore = useRecipeStore()
const { displayedRecipe, selectedStuff, curTool } = storeToRefs(rStore) const { selectedStuff, curTool } = storeToRefs(rStore)
const showSearchInput = ref(false) const showSearchInput = ref(false)

View File

@@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"version": "1.1.1", "version": "1.1.2",
"packageManager": "pnpm@8.6.10", "packageManager": "pnpm@8.6.10",
"engines": { "engines": {
"node": ">=14" "node": ">=14"