From 6228e1a361ad71235076b356f3af5a2c90df3e50 Mon Sep 17 00:00:00 2001 From: Viktorya Ghazaryan <76973530+viktoryathegreat@users.noreply.github.com> Date: Fri, 13 Oct 2023 17:42:30 +0400 Subject: [PATCH] Change by terraform in repo workflow config, Add .github/workflows/semantic-release.yaml --- .github/workflows/semantic-release.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/semantic-release.yaml diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml new file mode 100644 index 0000000..93f58dc --- /dev/null +++ b/.github/workflows/semantic-release.yaml @@ -0,0 +1,22 @@ +name: Semantic-Release +on: [pull_request, push] +jobs: + publish: + runs-on: ubuntu-latest + permissions: + actions: write + contents: write + discussions: write + pull-requests: write + id-token: write + steps: + - uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}