From 536fd3d9629b6cf3cda7978e26cbe7fd7671e338 Mon Sep 17 00:00:00 2001 From: "Md. Rubel Rana" <33339942+MdRubelRana@users.noreply.github.com> Date: Tue, 4 Jun 2024 02:23:23 +0600 Subject: [PATCH] Create publish.yml --- .github/workflows/publish.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..3ee89f9 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,22 @@ +name: "publish npm" + +on: push + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - name: node + uses: actions/setup-node@v3 + with: + node-version: 20 + registry-url: https://registry.npmjs.org + - name: publish + run: npm publish --access public + working-directory: ripple-notify + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}} + +