diff --git a/.github/workflows/artifacts-publish.yml b/.github/workflows/artifacts-publish.yml new file mode 100644 index 00000000..44ab39f0 --- /dev/null +++ b/.github/workflows/artifacts-publish.yml @@ -0,0 +1,21 @@ +name: Artifacts Publish + +on: + push: + tags: + - '*-artifacts' + +jobs: + check_tag: + uses: ./.github/workflows/reusable-check-tag.yml + with: + ref: ${{ github.ref }} + + publish: + needs: [check_tag] + uses: ./.github/workflows/reusable-publish.yml + with: + package: ${{ needs.check_tag.outputs.package }} + version: ${{ needs.check_tag.outputs.version }} + secrets: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}