Skip to content

Commit

Permalink
chore: switch to bumpp release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 5, 2023
1 parent fb0c62b commit fd8c09c
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 2,152 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set node
uses: actions/setup-node@v3
with:
node-version: 18

- run: npx changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 0 additions & 15 deletions .release-it.json

This file was deleted.

57 changes: 0 additions & 57 deletions CHANGELOG.md

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"lint:prettier": "prettier --write --loglevel warn",
"prepare": "husky install && pnpm build",
"prepublishOnly": "pnpm lint && pnpm test && pinst --disable",
"release": "release-it",
"release": "pnpm test && bumpp && npm publish",
"test": "vitest run",
"postinstall": "husky install",
"postpublish": "pinst --enable"
Expand All @@ -56,13 +56,12 @@
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "latest",
"@release-it/conventional-changelog": "latest",
"@types/node": "18.14.6",
"@types/serve-handler": "6.1.1",
"@typescript-eslint/eslint-plugin": "5.54.0",
"@typescript-eslint/parser": "5.54.0",
"@vitest/coverage-c8": "0.29.2",
"conventional-changelog-conventionalcommits": "latest",
"bumpp": "^9.0.0",
"eslint": "8.35.0",
"eslint-config-prettier": "latest",
"eslint-plugin-prettier": "latest",
Expand All @@ -72,7 +71,6 @@
"lint-staged": "latest",
"pinst": "latest",
"prettier": "latest",
"release-it": "^15.7.0",
"serve-handler": "6.1.5",
"typescript": "latest",
"unbuild": "latest",
Expand Down
Loading

0 comments on commit fd8c09c

Please sign in to comment.