From edce303747e3fdefc270a1157fedcffc3ee9a1b7 Mon Sep 17 00:00:00 2001 From: ppetzold Date: Fri, 26 Jun 2020 23:56:11 +0200 Subject: [PATCH] Add semantic release --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 749e8b7..21f62e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,3 +24,8 @@ jobs: - run: npm run build - run: npm run test:cov - run: bash <(curl -s https://codecov.io/bash) + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}