Skip to content

Commit ce5e37c

Browse files
authored
ci: release from GitHub (#923)
1 parent 4a0daef commit ce5e37c

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

.circleci/config.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,3 @@ workflows:
263263
branches:
264264
only:
265265
- temporarily-disabled--see-issue-840
266-
- "Release":
267-
requires:
268-
- "Test: iOS e2e"
269-
- "Test: Android e2e"
270-
filters:
271-
branches:
272-
only: master
273-

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,28 @@ jobs:
139139
- name: Build
140140
run: |
141141
yarn react-native run-windows --release --arch x64 --logging --no-packager --no-launch --no-deploy --msbuildprops "BundleEntryFile=index.ts" --no-telemetry
142+
release:
143+
name: Release
144+
needs: [review, android, ios, macos, windows]
145+
runs-on: ubuntu-22.04
146+
steps:
147+
- name: Checkout
148+
uses: actions/checkout@v3
149+
- name: Set up Node.js
150+
uses: actions/[email protected]
151+
with:
152+
node-version: 16
153+
cache: yarn
154+
- name: Install JS dependencies
155+
run: |
156+
yarn
157+
- name: Release
158+
env:
159+
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
160+
GIT_AUTHOR_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
161+
GIT_AUTHOR_NAME : ${{ secrets.GH_BOT_NAME }}
162+
GIT_COMMITTER_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
163+
GIT_COMMITTER_NAME: ${{ secrets.GH_BOT_NAME }}
164+
NPM_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
165+
run: |
166+
yarn semantic-release

0 commit comments

Comments
 (0)