Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.20.1 #635

Merged
merged 1,012 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1012 commits
Select commit Hold shift + click to select a range
4f0def3
`fix:` null issue while doing re-review data with custom-code (#586)
chavda-bhavik Jun 5, 2024
bf53bde
feat: Implemented toggle based accordion to make destination work in …
chavda-bhavik Jun 6, 2024
6bc6717
fix: empty customization throwing error
chavda-bhavik Jun 6, 2024
b9f99ef
feat: removed unused events from toggle switch
chavda-bhavik Jun 6, 2024
dd09803
destination toggle safari firfox issue (#587)
chavda-bhavik Jun 6, 2024
fa98c09
feat: Removed label from switch, Added Badge and Yearly, Monthly text
Jun 7, 2024
b2d8855
feat: Removed console logs
Jun 7, 2024
bcf0c01
fix: Minor spelling issues
Jun 7, 2024
67a45cd
Merge branch 'next' into feat/Plans-modal-and-track-event-record
chavda-bhavik Jun 10, 2024
1cdb93e
feat: Added float type validation
chavda-bhavik Jun 10, 2024
1cd2e36
`feat: Float type validation (#588)
chavda-bhavik Jun 10, 2024
db7c060
feat: Proper Error message of stripe error message on card adding error
Jun 11, 2024
d770dd7
feat: Amount and currency accessed from transactionItem
Jun 11, 2024
6a5bd7e
feat: Amount and currency columns added
Jun 11, 2024
45f2f1d
feat: Amount and currencytypes added in the ITransactionHistory inter…
Jun 11, 2024
0eb6869
feat: Updated APIs to consider isFrozen field
chavda-bhavik Jun 12, 2024
51a3162
feat: Generated sample file with frozen columns
chavda-bhavik Jun 12, 2024
5e0fb12
feat: Added frozen field to column form
chavda-bhavik Jun 12, 2024
a9839bf
feat: Added isFrozen to dynamic schema
chavda-bhavik Jun 12, 2024
49e2a5d
fix: color mismatch for custom-select
chavda-bhavik Jun 12, 2024
14cdbbb
feat: Date has been formatted into desired format
Jun 12, 2024
f9e5135
feat: Handled adding more card while choosing to select the desired c…
Jun 12, 2024
ed8a521
fix: Invisible cancelled date was showing while cancelling plan
Jun 12, 2024
03e3697
feat: shown $ symbol on the charges
Jun 12, 2024
ee23a00
fix: Gave proper column name to Charge and Amount
Jun 12, 2024
8587e71
`feat` frozen columns (#589)
chavda-bhavik Jun 13, 2024
287c923
Merge branch 'next' into feat/Plans-modal-and-track-event-record
chavda-bhavik Jun 13, 2024
68d8e9b
feat: updated pnpm-lock.yml
chavda-bhavik Jun 13, 2024
5351507
feat: Reorganized imports
Jun 14, 2024
70cedc7
feat: Cards Added
Jun 14, 2024
87cf2f9
feat: New revised Card styles added
Jun 14, 2024
7ef00d4
feat: Added borderless in ButtonProps interface
Jun 14, 2024
d18cec4
feat: AddCard component created
Jun 14, 2024
6e2b7a5
feat: AddCard exported
Jun 14, 2024
162506a
feat: Card exported
Jun 14, 2024
1b292b4
feat: Added colorsCode
Jun 14, 2024
2969291
feat: Revised styles for card
Jun 14, 2024
a4de29e
feat: grey color added in colors object
Jun 14, 2024
e1b0125
feat: New revised Card component added
Jun 14, 2024
0f1cbf2
feat: Added lead source
chavda-bhavik Jun 14, 2024
081c670
`feat:` Added lead source (#590)
chavda-bhavik Jun 14, 2024
720a56e
feat: Removed unused code
Jun 14, 2024
50bba69
feat: Revised AddCardModal
Jun 14, 2024
7f482ab
feat: AddCard exported
Jun 14, 2024
ff3f427
feat: Settings tab Optimized
Jun 14, 2024
b00dc01
feat: SelectCardModal added
Jun 14, 2024
cfe2037
feat: SelectCardModal exported
Jun 14, 2024
3d71902
feat: Added breakpoints in SimpleGrid
Jun 14, 2024
fcfd493
feat: Setting planCodeName in localstorage
Jun 14, 2024
7a22da8
feat: Added plan code storage and payment method key
Jun 14, 2024
9a498fc
feat: Streamlined card flow
Jun 14, 2024
ba54140
feat: Updated card add loading indicator
Jun 14, 2024
cd05337
feat: Made plan expiry more specific
Jun 14, 2024
bdebecc
feat: Revised date formats and streamlined pricing table texts
Jun 14, 2024
e7651fd
feat: Closed modal after redirecting user
Jun 14, 2024
d384cf2
feat: Adjustments for subscription
Jun 16, 2024
338f3f7
fix: Issue while purchasing plan - plan not found error
Jun 17, 2024
d87d919
fix: Reformatted Plans.tsx component
Jun 17, 2024
9a6bb50
feat: Formatted expiry date
Jun 17, 2024
06e9770
feat: Added Z-index to Modal
Jun 17, 2024
e4ad622
feat: Loader in SelectCardModal was not showing
Jun 17, 2024
c3db204
fix: Changed from Upgrade plan to Choose Plan
Jun 18, 2024
5bc818d
feat: Formatted membership cancellation date
Jun 18, 2024
7be508f
feat: Removed default currency
Jun 19, 2024
2b75ede
feat: Handled undefined column values
Jun 19, 2024
653b699
fix: Add card modal showing repeatedly
Jun 19, 2024
f43ea2c
feat: Taking plan as props in the AddCardModal
Jun 19, 2024
82ed87a
feat: Passing plan as prop to AddCardModal
Jun 19, 2024
f654221
feat: Navigating user to addcard along with the planCode
Jun 19, 2024
e5b142d
feat: Taking PlanCode in the props
Jun 19, 2024
df6a6ad
fix: Removed console log
Jun 19, 2024
ae5684a
feat: pnpm lock file
Jun 19, 2024
dbd8569
fix: Plan Code still in localstorage
Jun 19, 2024
8ca2858
feat: Updated lock file
chavda-bhavik Jun 19, 2024
54c7d6f
fix: Build and react import error
chavda-bhavik Jun 19, 2024
2278a63
fix: Redirection issue
Jun 19, 2024
dac3e6b
Merge branch 'feat/Plans-modal-and-track-event-record' of https://git…
Jun 19, 2024
76a939a
Merge branch 'next' into feat/Plans-modal-and-track-event-record
chavda-bhavik Jun 20, 2024
0a6c975
chnages saved
Jun 20, 2024
96811e7
pipeline check disable
Jun 20, 2024
fd562a0
fix: Unused file CardSelector.tsx deleted and removed
Jun 21, 2024
48f3023
Merge branch 'feat/Plans-modal-and-track-event-record' of https://git…
Jun 21, 2024
344787d
feat: Removed Unused keys and added necessary keys
Jun 21, 2024
e66807c
feat: Removed withinPortal
Jun 21, 2024
ffa1f63
Pricing Integration (#551)
chavda-bhavik Jun 21, 2024
a116473
v0.20.0
chavda-bhavik Jun 21, 2024
1ae845d
feat: Updated docker-compose images version
chavda-bhavik Jun 21, 2024
545cb42
Preparations/v0.20.0 (#591)
chavda-bhavik Jun 21, 2024
315bb64
feat: Improved payment user migrations to consider delay
chavda-bhavik Jun 21, 2024
e1ab56f
`feat:` Improved payment user migrations to consider delay (#592)
chavda-bhavik Jun 21, 2024
9854dcf
cicd for impler
Jun 21, 2024
05ecc8e
Merge branch 'next' into parsu_ci_testing
Techpurshottam Jun 21, 2024
f84caa8
automated deployments (#593)
chavda-bhavik Jun 21, 2024
df4423f
changes in cicd
Jun 21, 2024
9c28253
condition check
Jun 21, 2024
30229bf
cicd pushed
Jun 21, 2024
4d0f86b
cicd pushed2
Jun 21, 2024
4cec21a
syntax resolved
Jun 21, 2024
7b0af43
arranged cicd
Jun 21, 2024
c996472
commit passed
Jun 21, 2024
6dafcc7
condition changed
Jun 21, 2024
63f67fc
changes for api
Jun 21, 2024
5046f10
changes for embed
Jun 21, 2024
5e5f6b7
setup removed
Jun 21, 2024
026c23c
Merge branch 'next' into parsu_ci_testing
Techpurshottam Jun 21, 2024
8a143dc
changes for api (#595)
Techpurshottam Jun 21, 2024
3a181f5
secret added
Jun 21, 2024
da58931
secret added (#596)
Techpurshottam Jun 21, 2024
cfab7e8
password check
Jun 21, 2024
5ca35b0
password check (#597)
Techpurshottam Jun 21, 2024
e132e6b
env updated
Jun 21, 2024
0b1e9bf
env updated (#598)
Techpurshottam Jun 21, 2024
de43382
env updated2
Jun 21, 2024
7829b0e
env updated2 (#599)
Techpurshottam Jun 21, 2024
897bd7d
env updated3
Jun 21, 2024
3f5c449
env updated3 (#600)
Techpurshottam Jun 21, 2024
2410b4f
env pushed
Jun 21, 2024
5bdb280
env pushed for environmne changes (#601)
Techpurshottam Jun 21, 2024
bc29246
workflow dispacth added
Jun 24, 2024
1fe672f
secretes inherit
Jun 24, 2024
6259749
Merge branch 'next' into parsu_ci_testing
chavda-bhavik Jun 24, 2024
d59fc99
secretes inherit (#603)
chavda-bhavik Jun 24, 2024
bcc158f
feat: Improved update record api with necessary data only
chavda-bhavik Jun 24, 2024
844addc
feat: Updated Handsontable
chavda-bhavik Jun 24, 2024
57190b1
Merge branch 'next' into feat/avail-workflow-manual-runs
chavda-bhavik Jun 24, 2024
9b4ef19
workflow dispacth added (#602)
chavda-bhavik Jun 24, 2024
ecc3829
`fix` review table rendering (#604)
chavda-bhavik Jun 24, 2024
205a5ff
fix: Missing build steps
chavda-bhavik Jun 24, 2024
02bfb12
`fix:` Missing build steps (#605)
chavda-bhavik Jun 24, 2024
6a234fb
Update deploy-quality.yaml
Techpurshottam Jun 24, 2024
28fb66a
Update build-api.yml
Techpurshottam Jun 24, 2024
0ec0dd2
Update build-embed.yml
Techpurshottam Jun 24, 2024
0176fd8
Merge branch 'next' into parsu_ci_testing
Techpurshottam Jun 24, 2024
3767231
condition apply for separate jobs (#606)
Techpurshottam Jun 24, 2024
7a8f0dd
Update deploy-quality.yaml
Techpurshottam Jun 24, 2024
7fb6382
Update build-api.yml
Techpurshottam Jun 24, 2024
a8101a7
Update build-embed.yml
Techpurshottam Jun 24, 2024
9f4819d
Update deploy-quality.yaml
Techpurshottam Jun 24, 2024
195d2e8
yaml files updated for git workflows. (#607)
Techpurshottam Jun 24, 2024
fb384f6
Update deploy-quality.yaml
Techpurshottam Jun 24, 2024
a8bc75f
Update deploy-quality.yaml (#608)
Techpurshottam Jun 24, 2024
228e5d8
Update build-embed.yml
Techpurshottam Jun 24, 2024
46a5f9e
Update build-embed.yml (#609)
Techpurshottam Jun 24, 2024
f4ad649
Update deploy-quality.yaml
Techpurshottam Jun 24, 2024
90e190a
Update deploy-quality.yaml (#610)
Techpurshottam Jun 24, 2024
423f4b7
Update build-api.yml
Techpurshottam Jun 24, 2024
ccfd3e7
Update build-embed.yml
Techpurshottam Jun 24, 2024
54b8177
Update deploy-quality.yaml
Techpurshottam Jun 24, 2024
59d60ba
yaml updated for ci (#611)
Techpurshottam Jun 24, 2024
05a79a2
Update deploy-quality.yaml
Techpurshottam Jun 25, 2024
83e0214
Update build-api.yml
Techpurshottam Jun 25, 2024
c737385
Update build-embed.yml
Techpurshottam Jun 25, 2024
42cc75e
code updated for ci yaml (#613)
Techpurshottam Jun 25, 2024
9f60f19
Update deploy-quality.yaml
Techpurshottam Jun 25, 2024
0731ec7
Update deploy-quality.yaml (#614)
Techpurshottam Jun 25, 2024
779c4a7
Update deploy-quality.yaml
Techpurshottam Jun 25, 2024
a4c5dde
Update build-api.yml
Techpurshottam Jun 25, 2024
5196f5e
Update build-embed.yml
Techpurshottam Jun 25, 2024
403de09
Update build-queuemanager.yml
Techpurshottam Jun 25, 2024
44a80bf
Update build-web.yml
Techpurshottam Jun 25, 2024
9e9896f
Update build-widget.yml
Techpurshottam Jun 25, 2024
7462b2d
Merge branch 'next' into parsu_ci_testing
chavda-bhavik Jun 25, 2024
d44dba9
quality pipeline code is fixed (#615)
chavda-bhavik Jun 25, 2024
c932173
feat: Improved bubble.io destination providing
chavda-bhavik Jun 25, 2024
41feee6
`feat:` Improved bubble.io destination providing (#617)
chavda-bhavik Jun 25, 2024
39463d6
Update deploy-quality.yaml
Techpurshottam Jun 25, 2024
4826ae8
web and widget code updated for ci (#618)
Techpurshottam Jun 25, 2024
41c6f9c
Conditional embed script addition
chavda-bhavik Jun 25, 2024
628706d
fix: linting
chavda-bhavik Jun 25, 2024
98afb79
Conditional embed script addition (#619)
chavda-bhavik Jun 25, 2024
21ed237
Update deploy-quality.yaml
Techpurshottam Jun 25, 2024
80b998d
api-changed (#620)
Techpurshottam Jun 25, 2024
b4bac71
Updated workflow trigger condition to run on trigger
Techpurshottam Jun 25, 2024
28ef2d9
Updated workflow trigger condition to run on trigger (#621)
Techpurshottam Jun 25, 2024
dc5012e
Update deploy-quality.yaml
Techpurshottam Jun 25, 2024
f58d486
Update deploy-quality.yaml (#622)
Techpurshottam Jun 25, 2024
c45367f
feat: refactored checkout card details
Jun 26, 2024
ee4d2a8
feat: Added yellow color to button
Jun 26, 2024
1f89819
feat: Checkout route added in user controller
Jun 27, 2024
18c90a8
feat: ApplyCoupon and Checkout added in USE_CASES
Jun 27, 2024
63ab7d0
feat: ApplyCoupon usecase implemented
Jun 27, 2024
a38b3ec
feat: Checkout usecase implemented
Jun 27, 2024
8900024
feat: AddCard Modal properly imported
Jun 27, 2024
1ba9285
feat: Exported PaymentMethodOption and PaymentMethodGroup Component f…
Jun 27, 2024
d34909a
feat: Implemented PaymentMethodGroup component with PaymentMethodOpti…
Jun 27, 2024
f420760
fix: Redirection issue fixed if not added card and user selecting pla…
Jun 27, 2024
80601d8
feat: New seperate component to display the PaymentMethod details
Jun 27, 2024
a3bfc9a
feat: AddCardModal
Jun 27, 2024
1623708
feat: SelectCardModal properly exported
Jun 27, 2024
8eaddb3
feat: Implemented methods checkAppliedCoupon and checkout
Jun 27, 2024
7fe7d0e
feat: Added function constructQueryString to have the complete url ba…
Jun 27, 2024
0ecb2ef
feat: Removed function constructQueryString
Jun 27, 2024
10bc689
feat: Exported PaymentMethodOption and PaymentMethodGroup
Jun 27, 2024
1599dd0
feat: Added new component PaymentMethodGroup and included child compo…
Jun 27, 2024
a671c46
feat: New component to list down the payment methods of user along wi…
Jun 27, 2024
84a52e1
feat: New coupon key added
Jun 27, 2024
dc938b1
feat: File path changed
Jun 27, 2024
99c9e83
feat: Files moved to anathor directory
Jun 27, 2024
f9744ee
feat: New component Coupon to handle the Coupon code
Jun 27, 2024
553da51
feat: Exported Coupon
Jun 27, 2024
92ae1b8
feat: Removed unnecessary exports
Jun 27, 2024
97471df
feat: Exported PaymentMethodGroup and PaymentMethodOption
Jun 27, 2024
b2e82a9
feat: FIle path changed
Jun 27, 2024
a905abb
feat: Acception setAppliedCouponCode as the props
Jun 27, 2024
a6ca299
Merge branch 'next' into feat/Plans-modal-and-track-event-record
chavda-bhavik Jun 27, 2024
aac15c9
Create deploy-prod.yaml
Techpurshottam Jun 27, 2024
24b0ffa
feat: File renamed
Jun 27, 2024
f448990
Create deploy-prod.yaml (#625)
Techpurshottam Jun 27, 2024
5de816f
feat: Imported constructQueryString properly
Jun 27, 2024
d47976f
feat: Imported the renamed component
Jun 27, 2024
1df5ead
feat: Updated the proper export of component
Jun 27, 2024
7b284d0
feat: File moved
Jun 27, 2024
79dcf58
Merge branch 'feat/Plans-modal-and-track-event-record' of https://git…
Jun 27, 2024
77d094a
Coupon Code and Checkout Feature Implementation Added (#624)
chavda-bhavik Jun 27, 2024
69ed390
Update tag-images.yml
Techpurshottam Jun 27, 2024
ca4e7fe
Update publish-prod-packages.yml
Techpurshottam Jun 27, 2024
19a3f28
Update tag-images.yml
Techpurshottam Jun 27, 2024
eb7e81b
Update deploy-prod.yaml
Techpurshottam Jun 27, 2024
e0b1235
Update build-api.yml
Techpurshottam Jun 27, 2024
376b684
Update deploy-quality.yaml
Techpurshottam Jun 27, 2024
72020e4
Default Secret
chavda-bhavik Jun 27, 2024
c803ea8
Default Secret (#626)
chavda-bhavik Jun 27, 2024
cbbbce5
Update deploy-prod.yaml
Techpurshottam Jun 27, 2024
614f664
Update deploy-prod.yaml
Techpurshottam Jun 27, 2024
96dfb5f
Update tag-images.yml
Techpurshottam Jun 27, 2024
0efa9e4
Feat/prod cicd changes (#627)
Techpurshottam Jun 27, 2024
52bdd1f
Update deploy-prod.yaml
Techpurshottam Jun 27, 2024
8297c47
production changes for Impler Pipeline
Techpurshottam Jun 27, 2024
def0601
Merge branch 'next' into feat/prod-cicd-changes
Techpurshottam Jun 27, 2024
ec0066f
Feat/prod cicd changes (#628)
Techpurshottam Jun 27, 2024
605a6c6
Fix Service up command
chavda-bhavik Jun 29, 2024
3a48447
`Fix:` Service up command (#629)
chavda-bhavik Jun 29, 2024
156aedc
feat: Added formbricks sdk
chavda-bhavik Jun 29, 2024
5d16c84
`feat:` Added formbricks sdk (#630)
chavda-bhavik Jun 29, 2024
64bcf65
fix: Conditionally rendering totalPrice only if it is not undefined
Jul 2, 2024
ffb3a2b
fix: Conditionally rendering totalPrice only if it is not undefined (…
chavda-bhavik Jul 2, 2024
1825883
fix: Capatilized the currency
Jul 2, 2024
6d8eb09
fix: Capatilized the currency (#632)
Techpurshottam Jul 2, 2024
45671bd
feat: Package.lock and package.json files added
Jul 3, 2024
5c9b394
feat: Success or Failure message properly displayed using Confirmatio…
Jul 3, 2024
aa3795c
feat: Failed and Success payment Lottie animation files added
Jul 3, 2024
0c21421
feat: Properly exported the component
Jul 3, 2024
c6cabec
feat: Properly displayed ConformationModal on Payment success or failure
Jul 3, 2024
4179368
feat: Messages corrected
Jul 3, 2024
6bc46d4
feat: Making alignment properly
Jul 3, 2024
19a6c62
Fix/payment success and failed modal revision (#633)
chavda-bhavik Jul 3, 2024
6b7fdfe
v0.20.1
chavda-bhavik Jul 3, 2024
1d93637
v0.20.2
chavda-bhavik Jul 3, 2024
1f964c1
feat: Updated docker-compose images version
chavda-bhavik Jul 3, 2024
f64f76e
fix: Version missmatch
chavda-bhavik Jul 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 11 additions & 3 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"extends": ["@commitlint/config-conventional"],
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
2,
"always",
["sentence-case", "start-case", "pascal-case", "upper-case", "lower-case"]
[
"sentence-case",
"start-case",
"pascal-case",
"upper-case",
"lower-case"
]
],
"type-enum": [
2,
Expand All @@ -25,4 +33,4 @@
]
]
}
}
}
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ module.exports = {
'no-await-in-loop': 'off',
'no-continue': 'off',
'no-console': 'warn',
'no-magic-numbers': 'warn',
'no-prototype-builtins': 'off',
'import/no-cycle': 'off',
'class-methods-use-this': 'off',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
name: Publish API to Production

on:
push:
tags:
- '**@impler/api@**'
- '**@impler/shared@**'
- '**@impler/dal@**'
workflow_call:
secrets:
GH_PACKAGES:
required: true
workflow_dispatch:

jobs:
publish_prod_api:
if: "!contains(github.event.head_commit.message, 'ci skip')"
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
permissions:
contents: read
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Start MongoDB
uses: supercharge/[email protected]
Expand All @@ -43,8 +39,10 @@ jobs:
${{ runner.os }}-
- uses: pnpm/[email protected]
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Build, tag, and push image to Github Container Registry
Expand All @@ -59,12 +57,12 @@ jobs:
echo $GH_PASSWORD | docker login ghcr.io -u $GH_ACTOR --password-stdin
docker build -t ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG -f apps/api/Dockerfile .
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
# docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker run --network=host --name api -dit --env NODE_ENV=test --env JWT_SECRET=impler --env COOKIE_DOMAIN=impler ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG
docker run --network=host appropriate/curl --retry 10 --retry-delay 5 --retry-connrefused http://localhost:3000/v1/health-check | grep 'ok'
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
# docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG"
# docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG
# echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG"
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
name: Publish Embed to Production

on:
push:
tags:
- '**@impler/embed@**'
workflow_call:
secrets:
GH_PACKAGES:
required: true
workflow_dispatch:

jobs:
publish_prod_embed:
build_embed:
if: "!contains(github.event.head_commit.message, 'ci skip')"
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
permissions:
contents: read
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -36,8 +34,10 @@ jobs:
${{ runner.os }}-
- uses: pnpm/[email protected]
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Build
Expand All @@ -61,3 +61,4 @@ jobs:
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG"
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
name: Publish Queue Manager to Production

on:
push:
tags:
- '**@impler/queue-manager@**'
- '**@impler/shared@**'
workflow_call:
secrets:
GH_PACKAGES:
required: true
workflow_dispatch:

jobs:
publish_prod_queue-manager:
build_queuemanager:
if: "!contains(github.event.head_commit.message, 'ci skip')"
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
permissions:
contents: read
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -37,10 +34,12 @@ jobs:
${{ runner.os }}-
- uses: pnpm/[email protected]
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Build, tag, and push image to Github Container Registry
id: build-image
env:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
name: Publish Web app to Production

on:
push:
tags:
- '**@impler/web@**'
workflow_call:
secrets:
GH_PACKAGES:
required: true
workflow_dispatch:

jobs:
publish_prod_web:
build_web:
if: "!contains(github.event.head_commit.message, 'ci skip')"
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
permissions:
contents: read
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -36,10 +34,12 @@ jobs:
${{ runner.os }}-

- uses: pnpm/[email protected]
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Build, tag, and push image to Github container registry
id: build-image
env:
Expand All @@ -56,4 +56,4 @@ jobs:
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG"
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG"
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
name: Publish Widget to Production

on:
push:
tags:
- '**@impler/widget@**'
- '**@impler/shared@**'
workflow_call:
secrets:
GH_PACKAGES:
required: true
workflow_dispatch:

jobs:
publish_prod_widget:
build_widget:
if: "!contains(github.event.head_commit.message, 'ci skip')"
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
permissions:
contents: read
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -37,8 +34,10 @@ jobs:
${{ runner.os }}-

- uses: pnpm/[email protected]
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Envsetup
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build

on:
push:
branches:
- next

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Loading
Loading