Skip to content

Commit

Permalink
ci: config for unstable release
Browse files Browse the repository at this point in the history
  • Loading branch information
genaris committed Oct 9, 2024
1 parent b50e378 commit dc73eeb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -26,4 +31,4 @@ jobs:
- name: Release unstable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release --preRelease alpha --ci
run: yarn release --preRelease alpha --ci --no-git.push --no-git.commit

0 comments on commit dc73eeb

Please sign in to comment.