From e43e033503da6b674c1e50cba7a7dc5adaefce3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Gu=CC=88ner?= Date: Thu, 9 May 2024 21:08:22 +0300 Subject: [PATCH] chore: add publish job --- .github/workflows/publish.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..b438e7c --- /dev/null +++ b/.github/workflows/publish.yml @@ -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 }}