Skip to content

Commit a07ca5b

Browse files
committed
ci: migrate to release please
1 parent 10ba80a commit a07ca5b

File tree

7 files changed

+8450
-12407
lines changed

7 files changed

+8450
-12407
lines changed

.github/workflows/cd-npm.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: Continuous deployment (NPM)
22

33
on:
4-
push:
5-
tags:
6-
- v*
4+
release:
5+
types: [published]
76

87
jobs:
9-
build-and-deploy:
8+
build-and-deploy-npm-package:
109
name: Build and deploy NPM package
1110
runs-on: ubuntu-latest
1211
steps:
@@ -27,11 +26,6 @@ jobs:
2726
- name: Build
2827
run: npm run build
2928

30-
- name: Create Github release
31-
run: npm run release:create-github-release
32-
env:
33-
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}
34-
3529
- name: Publish package on npmjs.org
3630
run: npm publish ./dist --access public
3731
env:

.github/workflows/cd-storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
jobs:
9-
build-and-deploy:
9+
build-and-deploy-storybook:
1010
name: Build and deploy Storybook to Github Pages
1111
runs-on: ubuntu-latest
1212

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release management
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release-please:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: google-github-actions/release-please-action@v3
13+
id: release
14+
with:
15+
release-type: node
16+
package-name: react-dsv-import

.versionrc

Lines changed: 0 additions & 32 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
Flexible, typed and easy to use React Component ⚛ to provide CSV, TSV and other delimiter-separated values formats ([DSV](https://en.wikipedia.org/wiki/Delimiter-separated_values)) import functionality.
44

5-
[![Travis (.com)](https://img.shields.io/travis/com/openscript/react-dsv-import)](https://travis-ci.com/github/openscript-ch/react-dsv-import)
65
[![npm](https://img.shields.io/npm/v/react-dsv-import)](https://www.npmjs.com/package/react-dsv-import)
76
[![npm peer dependency version](https://img.shields.io/npm/dependency-version/react-dsv-import/peer/react)](https://www.npmjs.com/package/react)
87
[![GitHub](https://img.shields.io/github/license/openscript/react-dsv-import)](https://github.com/openscript-ch/react-dsv-import)

0 commit comments

Comments
 (0)