From eb40654441fdb583a9d786b51676d9dc6f2da5fa Mon Sep 17 00:00:00 2001 From: Federico Giacon <58218759+fedgiac@users.noreply.github.com> Date: Thu, 5 Dec 2024 15:46:16 +0000 Subject: [PATCH] Add placeholder action to publish to NPM --- .github/workflows/publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..5288312 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +# This is a placeholder GitHub Action with the sole purpose of making this +# action appear on the Action interface. It isn't supposed to be executed on +# the current branch, only on the `v1` branch. +# Related discussion: https://github.com/github/docs/issues/31007 + +name: Publish package to NPM + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Print warning + run: echo 'Publishing this branch to NPM is not supported' + - name: Make the action fail + run: exit 1