Skip to content

Commit

Permalink
Add placeholder action to publish to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
fedgiac committed Dec 5, 2024
1 parent 0bdf44c commit eb40654
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit eb40654

Please sign in to comment.