mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-06-28 05:33:47 +00:00
build: adopted release-it
This commit is contained in:
parent
0dd4700783
commit
34fc5b7557
6 changed files with 5215 additions and 36 deletions
14
.github/workflows/release-please.yml
vendored
14
.github/workflows/release-please.yml
vendored
|
@ -1,14 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
name: release-please
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: google-github-actions/release-please-action@v3
|
||||
with:
|
||||
release-type: node
|
||||
package-name: "@lampajr/bper"
|
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
|
@ -1,19 +0,0 @@
|
|||
# This workflow create a new tag and then publish it to NPM.
|
||||
|
||||
name: "Publish Package"
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: "Publish"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm install && npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
Loading…
Add table
Add a link
Reference in a new issue