Skip to content

Commit

Permalink
feat: workflow release file (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopereira12 authored Jul 30, 2024
1 parent 1288648 commit c7f3f15
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Build Docker Image
on:
release:
types: [published]
workflow_call:
permissions:
packages: write
env:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Publish Package to npmjs
on:
release:
types: [published]
workflow_call:
jobs:
publish-npm:
runs-on: ubuntu-latest
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Workflow - release
on:
release:
types: [published]
jobs:
npm_publish:
name: Publish packages to npmjs
uses: ./.github/workflows/npm-publish.yml

build_docker_images:
name: Build Docker Images
needs:
- npm_publish
uses: ./.github/workflows/docker.yml

0 comments on commit c7f3f15

Please sign in to comment.