Skip to content

Commit 10177e3

Browse files
authored
Merge pull request #41 from gitKrystan/fix-local-releases
Fix local releases
2 parents 8618bbd + 2097ce0 commit 10177e3

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222

2323
- run: pnpm install --frozen-lockfile
2424

25-
- run: pnpm lint
26-
27-
- run: pnpm build
28-
29-
- run: pnpm test
30-
3125
- name: git config
3226
run: |
3327
git config user.name "${GITHUB_ACTOR}"

.release-it.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@
1212
"github": {
1313
"release": true,
1414
"tokenRef": "GITHUB_AUTH"
15+
},
16+
"hooks": {
17+
"before:init": ["pnpm lint", "pnpm test:run"],
18+
"after:bump": "npm run build",
19+
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
1520
}
1621
}

0 commit comments

Comments
 (0)