Skip to content

Commit

Permalink
chore: add publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
atlj committed May 9, 2024
1 parent 488f1a8 commit e43e033
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish

on: workflow_dispatch

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup
uses: ./.github/actions/setup

- name: Prepare
run: yarn prepare

- name: Publish
run: yarn npm publish --access public --tag latest --otp ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit e43e033

Please sign in to comment.