diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e93ca3c..84831e7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,11 +1,11 @@ -name: CI +name: CD on: push: branches: - main jobs: - build-library: + build-and-unstable-release: runs-on: ubuntu-latest steps: - name: Checkout @@ -14,6 +14,11 @@ jobs: - name: Setup uses: ./.github/actions/setup + - name: git config + run: | + git config user.name "@github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + - name: Set NPM config run: | echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> .npmrc @@ -26,4 +31,4 @@ jobs: - name: Release unstable env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: yarn release --preRelease alpha --ci \ No newline at end of file + run: yarn release --preRelease alpha --ci --no-git.push --no-git.commit \ No newline at end of file