Skip to content

Commit 9db3496

Browse files
authored
Merge pull request #26 from Expensify/andrew-publish2
Add npm publish
2 parents f3964b7 + 5f77db9 commit 9db3496

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish package to npmjs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
# Ensure that only one instance of this workflow executes at a time.
8+
# If multiple PRs are merged in quick succession, there will only ever be one publish workflow running and one pending.
9+
concurrency: ${{ github.workflow }}
10+
11+
jobs:
12+
publish:
13+
# os-botify[bot] will update the version on `main`, so this check is important to prevent an infinite loop
14+
if: ${{ github.actor != 'os-botify[bot]' }}
15+
uses: Expensify/GitHub-Actions/.github/workflows/npmPublish.yml@main
16+
secrets: inherit
17+
with:
18+
should_run_pack: true

0 commit comments

Comments
 (0)