-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92417a2
commit c6c7ed4
Showing
7 changed files
with
100 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,17 @@ env: | |
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
Sync: | ||
name: Check for config changes | ||
config: | ||
name: Config Sync | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for other CI | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Lint Check' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
- name: Checkout code | ||
id: checkout-code | ||
uses: actions/checkout@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,14 @@ jobs: | |
Docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for other CI | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'GitHub Release' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set .gitsha | ||
if: github.event_name == 'push' | ||
run: 'echo ${{github.sha}} > .gitsha' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,17 @@ env: | |
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
Sync: | ||
name: Generate missing locales with chatgpt | ||
locales: | ||
name: Locales Sync | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for other CI | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Config Sync' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
- name: Checkout code | ||
id: checkout-code | ||
uses: actions/checkout@v3 | ||
|
@@ -43,3 +50,6 @@ jobs: | |
git add --all | ||
git commit --message "chore: sync locales" | ||
git push | ||
git checkout develop | ||
git merge main | ||
git push origin develop |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,44 @@ | ||
name: Release | ||
on: [release] | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
|
||
permissions: write-all | ||
|
||
jobs: | ||
sentry: | ||
release: | ||
name: GitHub Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
id: checkout-code | ||
uses: actions/checkout@v3 | ||
- name: Wait for other CI | ||
uses: lewagon/[email protected] | ||
with: | ||
fetch-depth: 2 | ||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v3 | ||
ref: ${{ github.ref }} | ||
check-name: 'Locales Sync' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'yarn' | ||
|
||
- name: Install Dependencies | ||
run: yarn | ||
|
||
- name: Sentry Build | ||
run: yarn release | ||
fetch-depth: 0 | ||
- name: Install Volta | ||
uses: volta-cli/action@v4 | ||
- name: Echo versions | ||
run: | | ||
node --version | ||
yarn --version | ||
- name: Install dependencies | ||
run: yarn --prefer-offline | ||
env: | ||
HUSKY: 0 | ||
- name: Build app | ||
run: yarn build | ||
- name: Release | ||
env: | ||
SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} | ||
SENTRY_DSN: ${{secrets.SENTRY_DSN}} | ||
SENTRY_ORG: ${{secrets.SENTRY_ORG}} | ||
SENTRY_PROJECT: ${{secrets.SENTRY_PROJECT}} | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
HUSKY: 0 | ||
run: npx semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Sentry | ||
on: [release] | ||
|
||
jobs: | ||
sentry: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for other CI | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Lint Check' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
- name: Checkout Code | ||
id: checkout-code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'yarn' | ||
|
||
- name: Install Dependencies | ||
run: yarn | ||
|
||
- name: Sentry Build | ||
run: yarn release | ||
env: | ||
SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} | ||
SENTRY_DSN: ${{secrets.SENTRY_DSN}} | ||
SENTRY_ORG: ${{secrets.SENTRY_ORG}} | ||
SENTRY_PROJECT: ${{secrets.SENTRY_PROJECT}} |