From da01bde0eab75d43ad040834ac286ad42afd80a3 Mon Sep 17 00:00:00 2001 From: Rinat Arsaev <11846445+KrickRay@users.noreply.github.com> Date: Thu, 31 Mar 2022 12:21:59 +0300 Subject: [PATCH] TD-253: Publish --- .github/workflows/master.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/master.yaml diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml new file mode 100644 index 0000000..ba94af9 --- /dev/null +++ b/.github/workflows/master.yaml @@ -0,0 +1,17 @@ +name: Publish + +on: + push: + branches: ['master', 'main'] + +jobs: + publish: + name: Publish + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: valitydev/action-frontend/setup@v0.1 + - run: npm ci + - uses: valitydev/action-frontend/publish@v0.1 + with: + npm-token: ${{ secrets.NPM_TOKEN }}