From 305634f822dee723f0465ed4cbb2633fee978175 Mon Sep 17 00:00:00 2001 From: Tisho Yanchev <108734092+tishoyanchev@users.noreply.github.com> Date: Wed, 20 Sep 2023 08:59:26 +0200 Subject: [PATCH] Create publish.yml --- .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..d33c1d3 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,20 @@ +name: "publish npm" + +on: push + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + - name: node + uses: actions/setup-node@v2 + with: + node-version: 12 + registry-url: https://registry.npmjs.org + - name: publish + run: npm publish --access public + working-directory: my-package + env: + NODE_AUTH_TOKEN: ${{secrets.IFX_FEEDBACK_WIDGET}}