Skip to content

Commit

Permalink
fix: github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilaton committed Nov 22, 2023
1 parent 332ecbb commit 06ee49e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/publish-npm.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: Publish npm package
name: Release and publish npm package

on:
push:
tags:
- 'v*'
branches:
- main

jobs:
publish-npm:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
changelog-types: '[{"type":"feat","section":"🎉 Features","hidden":false},{"type":"fix","section":"🛠️ Bug Fixes","hidden":false},{"type":"docs","section":"📝 Docs","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'

# The logic below handles the npm publication:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/release-please.yml

This file was deleted.

0 comments on commit 06ee49e

Please sign in to comment.