Skip to content

Commit eb40654

Browse files
committed
Add placeholder action to publish to NPM
1 parent 0bdf44c commit eb40654

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This is a placeholder GitHub Action with the sole purpose of making this
2+
# action appear on the Action interface. It isn't supposed to be executed on
3+
# the current branch, only on the `v1` branch.
4+
# Related discussion: https://github.com/github/docs/issues/31007
5+
6+
name: Publish package to NPM
7+
8+
on:
9+
workflow_dispatch:
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Print warning
17+
run: echo 'Publishing this branch to NPM is not supported'
18+
- name: Make the action fail
19+
run: exit 1

0 commit comments

Comments
 (0)