Skip to content

Commit 00855c0

Browse files
chore: Automate release with semantic-release
1 parent 16523fb commit 00855c0

File tree

5 files changed

+2417
-42
lines changed

5 files changed

+2417
-42
lines changed

.github/renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"groupName": "vue",
1919
"allowedVersions": "<3.0.0"
2020
},
21+
{
22+
"matchPackageNames": ["lru-cache"],
23+
"allowedVersions": "<6.0.0"
24+
},
2125
{
2226
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
2327
"automerge": true

.github/workflows/pull_request.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ jobs:
5353
fail-fast: false
5454
matrix:
5555
node:
56-
- 18
5756
- 20
5857
steps:
5958
- uses: actions/[email protected]

.github/workflows/push.yaml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
fail-fast: false
5656
matrix:
5757
node:
58-
- 18
5958
- 20
6059
steps:
6160
- uses: actions/[email protected]
@@ -82,3 +81,31 @@ jobs:
8281
with:
8382
branch: gh-pages
8483
folder: docs/.vuepress/dist
84+
85+
release:
86+
name: Release
87+
runs-on: ubuntu-latest
88+
needs:
89+
- lint
90+
- build
91+
- coverage
92+
- test
93+
- docs
94+
permissions:
95+
contents: write
96+
issues: write
97+
pull-requests: write
98+
steps:
99+
- uses: actions/[email protected]
100+
- uses: actions/[email protected]
101+
with:
102+
cache: yarn
103+
check-latest: true
104+
node-version: 22
105+
- run: yarn
106+
# TODO: Possibly download as artifact
107+
- run: yarn build
108+
- env:
109+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
110+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
111+
run: yarn semantic-release

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-postgrest",
3-
"version": "1.8.0",
3+
"version": "0.0.0-development",
44
"description": "Vue.js Component providing PostgREST integration",
55
"bugs": {
66
"url": "https://github.com/technowledgy/vue-postgrest/issues"
@@ -40,8 +40,10 @@
4040
"jest-environment-jsdom": "29.7.0",
4141
"jest-fetch-mock": "3.0.3",
4242
"jest-watch-typeahead": "2.2.2",
43+
"lru-cache": "5.1.1",
4344
"nodemon": "3.1.7",
4445
"rollup-plugin-copy": "3.5.0",
46+
"semantic-release": "24.2.0",
4547
"vite": "6.0.3",
4648
"vue": "2.7.16",
4749
"vue-server-renderer": "2.7.16",

0 commit comments

Comments
 (0)