From 541e7bcaddf05884e78944fc7bbaffea4f4aad69 Mon Sep 17 00:00:00 2001 From: Felix Leupold Date: Thu, 16 Apr 2020 21:03:03 +0200 Subject: [PATCH] fix: auto release workflow --- .github/workflows/02_release.yml | 27 ------------------- .../workflows/{01_nodejs.yml => nodejs.yml} | 4 +++ 2 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/02_release.yml rename .github/workflows/{01_nodejs.yml => nodejs.yml} (90%) diff --git a/.github/workflows/02_release.yml b/.github/workflows/02_release.yml deleted file mode 100644 index 0f10572a..00000000 --- a/.github/workflows/02_release.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Release -on: - push: - branches: - - master - - beta - - alpha - -jobs: - release: - runs-on: ubuntu-latest - - env: - CI: true - GH_TOKEN: ${{ secrets.GH_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: release - run: | - yarn - yarn semantic-release diff --git a/.github/workflows/01_nodejs.yml b/.github/workflows/nodejs.yml similarity index 90% rename from .github/workflows/01_nodejs.yml rename to .github/workflows/nodejs.yml index ac6f1c9b..3ba3069a 100644 --- a/.github/workflows/01_nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -33,3 +33,7 @@ jobs: yarn build - name: bundlewatch run: yarn run bundlewatch + - name: release + run: | + cd .. + yarn semantic-release