Skip to content

Commit 1755c19

Browse files
authored
Replace npm publish with release-it automation (#31)
1 parent 9dab621 commit 1755c19

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/build-release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,5 @@ jobs:
2525
- name: Install dependencies
2626
run: npm install
2727

28-
- name: Build package
29-
run: npm build
30-
3128
- name: Publish package
32-
run: npm publish --provenance --access public
29+
run: npm run release

.release-it.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://unpkg.com/release-it@19/schema/release-it.json",
3+
"npm": {
4+
"publishArgs": ["--provenance", "--access", "public"]
5+
}
6+
}

0 commit comments

Comments
 (0)