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

Multiple Teams Assignment #4198

Merged
merged 180 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
290bb6c
feat: update to react 18
brunozoric Dec 13, 2023
bce1a63
chore: lint run
brunozoric Dec 13, 2023
09f28ed
fix: update root package json react-dom and types
brunozoric Dec 13, 2023
9644c8a
feat: upgrade to react 18 - fix build #1 (#3773)
neatbyte-vnobis Dec 14, 2023
9421e8f
feat: upgrade to react 18 - updated rmwc version (#3775)
neatbyte-vnobis Dec 19, 2023
a8185c2
feat: upgrade to react 18 - fix build #2 (#3774)
neatbyte-vnobis Dec 21, 2023
2968b38
feat: upgrade to react 18 - fix build #3 (#3779)
neatbyte-vnobis Jan 2, 2024
8b99ac8
feat: upgrade to react 18 - fix build #4 (#3788)
neatbyte-vnobis Jan 11, 2024
663a060
feat: upgrade to react 18 - fix build #5 (#3797)
neatbyte-vnobis Jan 11, 2024
44f7985
fix(app-aco): missing types after upgrade to react 18
brunozoric Jan 12, 2024
1f9cb4f
fix(app-graphql-playground): fix types after react 18 upgrades
brunozoric Jan 12, 2024
62c6eba
fix(app-admin-users-cognito): fix types after react 18 upgrades
brunozoric Jan 12, 2024
f4e571d
fix(lexical-editor-pb-element): fix types after react 18 upgrades
brunozoric Jan 12, 2024
6f6fd74
fix(app-form-builder): fix types after react 18 upgrades
brunozoric Jan 12, 2024
ca9da61
fix(app-page-builder-editor): fix types after react 18 upgrades
brunozoric Jan 12, 2024
e0ec4c4
fix(app-theme-manager): fix types after react 18 upgrades
brunozoric Jan 12, 2024
779c7e2
fix(app-headless-cms): fix types after react 18 upgrades
brunozoric Jan 12, 2024
0f0dba8
fix(app-apw): fix types after react 18 upgrades
brunozoric Jan 12, 2024
124c66b
fix(app-audit-logs): fix types after react 18 upgrades
brunozoric Jan 12, 2024
b784358
fix(app-admin-okta): fix types after react 18 upgrades
brunozoric Jan 12, 2024
e70d2ef
feat: upgrade to react 18 - fix build #6 (#3819)
neatbyte-vnobis Jan 17, 2024
5e17c49
style: prettier run
brunozoric Jan 17, 2024
a9f7a43
feat: upgrade to react 18 - fix build #7 (#3824)
neatbyte-vnobis Jan 17, 2024
1aafa40
feat: upgrade to react 18 - fix build #8 (#3832)
neatbyte-vnobis Feb 5, 2024
038dc3e
chore: update packages
brunozoric Feb 6, 2024
fa21c9a
feat: upgrade to react 18 - fix build #9 (#3860)
neatbyte-vnobis Feb 12, 2024
fe2fd5b
feat: upgrade to react 18 - fix build #10 (#3868)
neatbyte-vnobis Feb 13, 2024
d770fc1
fix: after next merge
brunozoric Feb 14, 2024
c7cfa5e
feat: upgrade to react 18 - fix build #11 (#3870)
neatbyte-vnobis Feb 27, 2024
6efe0f3
fix: after next merge
brunozoric Mar 13, 2024
ec7c582
fix: update react related packages to latest
brunozoric Mar 13, 2024
8f76d29
fix: use new react-dom client
brunozoric Mar 13, 2024
9f8f040
fix(cli-plugin-scaffold-react-app): missing react import
brunozoric Mar 13, 2024
ea98e35
fix(app-headless-cms): icon picker
brunozoric Mar 13, 2024
e0ca6b9
fix(ui): rmwc version
brunozoric Mar 14, 2024
9e94c6f
fix(ui): slider
brunozoric Mar 14, 2024
193c749
fix(app-apw): nested elements
brunozoric Mar 15, 2024
ca8fc65
fix(app-page-builder): remove nested p
brunozoric Mar 15, 2024
fcfa526
fix(ui): remove bottom margin on dialog title
brunozoric Mar 15, 2024
73f27cd
fix(ui): select width
brunozoric Mar 15, 2024
df2523b
fix(cypress): page block export
brunozoric Mar 15, 2024
fca6bb0
fix(ui): browser freeze due to data table getRowModel method
brunozoric Mar 18, 2024
30a2faf
chore: fix after next merge
brunozoric Mar 18, 2024
7283489
fix(ui): memoize data table columns and data
brunozoric Mar 18, 2024
e2dc333
fix(ui): data table continuous rendering
brunozoric Mar 18, 2024
750f08d
fix(app-page-builder): editor scrolling
brunozoric Mar 19, 2024
7ce7056
feat: introduce `useStateWithCallback` hook
adrians5j Mar 19, 2024
6de420f
fix: properly open/close "create page template" dialog
adrians5j Mar 19, 2024
58f6ad7
fix: redirect only when the state has been set
adrians5j Mar 19, 2024
d42bb2a
chore: run prettier
adrians5j Mar 19, 2024
4286a28
fix: redirect only when the state has been set
adrians5j Mar 19, 2024
f112c83
fix: remove unneeded `open` flag
adrians5j Mar 19, 2024
78d0477
fix: use `open` prop instead of conditionally rendering the component
adrians5j Mar 19, 2024
02d3cb0
Merge remote-tracking branch 'origin/next' into bruno/feat/upgrade-to…
adrians5j Mar 20, 2024
4792c1c
fix: assign `PagePreviewDimension` type to `dimensions` param
adrians5j Mar 20, 2024
e55126c
fix: remove "Successfully" word
adrians5j Mar 20, 2024
ba905a9
fix: improve message
adrians5j Mar 21, 2024
ec15080
fix: make graceful error messages more prominent
adrians5j Mar 21, 2024
eeb952f
feat: update to react 18
brunozoric Dec 13, 2023
33569f4
chore: lint run
brunozoric Dec 13, 2023
fcd1460
fix: update root package json react-dom and types
brunozoric Dec 13, 2023
ba937da
feat: upgrade to react 18 - fix build #1 (#3773)
neatbyte-vnobis Dec 14, 2023
d3b7ec1
feat: upgrade to react 18 - updated rmwc version (#3775)
neatbyte-vnobis Dec 19, 2023
479e05d
feat: upgrade to react 18 - fix build #2 (#3774)
neatbyte-vnobis Dec 21, 2023
1e996f5
feat: upgrade to react 18 - fix build #3 (#3779)
neatbyte-vnobis Jan 2, 2024
b4520b9
feat: upgrade to react 18 - fix build #4 (#3788)
neatbyte-vnobis Jan 11, 2024
c7dc734
feat: upgrade to react 18 - fix build #5 (#3797)
neatbyte-vnobis Jan 11, 2024
5ce7ea8
fix(app-aco): missing types after upgrade to react 18
brunozoric Jan 12, 2024
f56bbe4
fix(app-graphql-playground): fix types after react 18 upgrades
brunozoric Jan 12, 2024
1cdf833
fix(app-admin-users-cognito): fix types after react 18 upgrades
brunozoric Jan 12, 2024
6a823c2
fix(lexical-editor-pb-element): fix types after react 18 upgrades
brunozoric Jan 12, 2024
e5e7dca
fix(app-form-builder): fix types after react 18 upgrades
brunozoric Jan 12, 2024
85ef4c8
fix(app-page-builder-editor): fix types after react 18 upgrades
brunozoric Jan 12, 2024
17477d3
fix(app-theme-manager): fix types after react 18 upgrades
brunozoric Jan 12, 2024
a8bdf16
fix(app-headless-cms): fix types after react 18 upgrades
brunozoric Jan 12, 2024
19d2687
fix(app-apw): fix types after react 18 upgrades
brunozoric Jan 12, 2024
18f189c
fix(app-audit-logs): fix types after react 18 upgrades
brunozoric Jan 12, 2024
6936c72
fix(app-admin-okta): fix types after react 18 upgrades
brunozoric Jan 12, 2024
119fe9b
feat: upgrade to react 18 - fix build #6 (#3819)
neatbyte-vnobis Jan 17, 2024
ab87508
style: prettier run
brunozoric Jan 17, 2024
8a666fa
feat: upgrade to react 18 - fix build #7 (#3824)
neatbyte-vnobis Jan 17, 2024
13a0499
feat: upgrade to react 18 - fix build #8 (#3832)
neatbyte-vnobis Feb 5, 2024
f76a782
chore: update packages
brunozoric Feb 6, 2024
c6c82ee
feat: upgrade to react 18 - fix build #9 (#3860)
neatbyte-vnobis Feb 12, 2024
3ea4b73
feat: upgrade to react 18 - fix build #10 (#3868)
neatbyte-vnobis Feb 13, 2024
2e7146c
fix: after next merge
brunozoric Feb 14, 2024
e763724
feat: upgrade to react 18 - fix build #11 (#3870)
neatbyte-vnobis Feb 27, 2024
cb556cd
fix: after next merge
brunozoric Mar 13, 2024
1dcd577
fix: update react related packages to latest
brunozoric Mar 13, 2024
f3a15b0
fix: use new react-dom client
brunozoric Mar 13, 2024
fc383c6
fix(cli-plugin-scaffold-react-app): missing react import
brunozoric Mar 13, 2024
f9cf3b5
fix(app-headless-cms): icon picker
brunozoric Mar 13, 2024
4539619
fix(ui): rmwc version
brunozoric Mar 14, 2024
d623a5b
fix(ui): slider
brunozoric Mar 14, 2024
a684016
fix(app-apw): nested elements
brunozoric Mar 15, 2024
3abcff0
fix(app-page-builder): remove nested p
brunozoric Mar 15, 2024
7305bc5
fix(ui): remove bottom margin on dialog title
brunozoric Mar 15, 2024
83b5911
fix(ui): select width
brunozoric Mar 15, 2024
2bf32df
fix(cypress): page block export
brunozoric Mar 15, 2024
1e003f3
fix(ui): browser freeze due to data table getRowModel method
brunozoric Mar 18, 2024
4e3d0ed
chore: fix after next merge
brunozoric Mar 18, 2024
2a41381
fix(ui): memoize data table columns and data
brunozoric Mar 18, 2024
4154bc2
fix(ui): data table continuous rendering
brunozoric Mar 18, 2024
f09bc0a
fix(app-page-builder): editor scrolling
brunozoric Mar 19, 2024
8f23b27
feat: introduce `useStateWithCallback` hook
adrians5j Mar 19, 2024
8d31f43
fix: properly open/close "create page template" dialog
adrians5j Mar 19, 2024
d34818a
fix: redirect only when the state has been set
adrians5j Mar 19, 2024
b15a9f2
chore: run prettier
adrians5j Mar 19, 2024
658ed66
fix: redirect only when the state has been set
adrians5j Mar 19, 2024
b81841d
fix: remove unneeded `open` flag
adrians5j Mar 19, 2024
e3b3acc
fix: use `open` prop instead of conditionally rendering the component
adrians5j Mar 19, 2024
6f1756a
fix: assign `PagePreviewDimension` type to `dimensions` param
adrians5j Mar 20, 2024
4d520ae
fix: remove "Successfully" word
adrians5j Mar 20, 2024
3620d16
fix: improve message
adrians5j Mar 21, 2024
d3ceaeb
fix: make graceful error messages more prominent
adrians5j Mar 21, 2024
fd4cabd
chore: update yarn lock
brunozoric Mar 28, 2024
fc00d0a
Merge branch 'bruno/feat/upgrade-to-react-18' of github.com:webiny/we…
adrians5j Mar 31, 2024
a1225dc
merge: next into upgrade-to-react-18
Pavel910 Apr 5, 2024
58fdad8
fix: update Checkbox and Typography usage
Pavel910 Apr 8, 2024
9d5f197
fix: add `twoLine={true}` prop
adrians5j Apr 8, 2024
ed4c356
fix: ensure Chip/Chips components the same as before
adrians5j Apr 9, 2024
20935b8
Merge remote-tracking branch 'origin/bruno/feat/upgrade-to-react-18' …
adrians5j Apr 9, 2024
624804a
fix: ensure Chip/Chips components the same as before
adrians5j Apr 9, 2024
09f3a23
chore: add `cy:setup`
adrians5j Apr 9, 2024
b51e38f
fix: remove unneeded component
adrians5j Apr 9, 2024
412cccd
test: remove old test
adrians5j Apr 9, 2024
5a4f747
Merge branch 'next' into bruno/feat/upgrade-to-react-18
adrians5j Apr 9, 2024
f1ef516
fix: bring back the original design of the list
adrians5j Apr 9, 2024
a956283
Merge remote-tracking branch 'origin/bruno/feat/upgrade-to-react-18' …
adrians5j Apr 9, 2024
35c5efd
Merge branch 'bruno/feat/upgrade-to-react-18' of github.com:webiny/we…
adrians5j Apr 11, 2024
9f65dc6
wip: create new watch command for AWS Lambda functions
adrians5j Apr 23, 2024
9c873d9
wip: create new watch command for AWS Lambda functions
adrians5j Apr 23, 2024
4e1adf0
wip: create new watch command for AWS Lambda functions
adrians5j Apr 23, 2024
2c5e643
wip: create new watch command for AWS Lambda functions
adrians5j Apr 27, 2024
c5dd475
wip: create new watch command for AWS Lambda functions
adrians5j Apr 27, 2024
0b653d7
wip: create new watch command for AWS Lambda functions
adrians5j May 10, 2024
7544428
Merge remote-tracking branch 'refs/remotes/origin/next' into adrian/w…
adrians5j Jun 13, 2024
4e5cb68
wip: create new watch command for AWS Lambda functions
adrians5j Jun 27, 2024
db3dfb9
wip: create new watch command for AWS Lambda functions
adrians5j Jul 3, 2024
725ac90
wip: allow multiple teams assignment
adrians5j Jul 3, 2024
1cf1a40
wip: create new watch command for AWS Lambda functions
adrians5j Jul 3, 2024
3949921
Merge remote-tracking branch 'refs/remotes/origin/next' into adrian/w…
adrians5j Jul 3, 2024
60f6543
wip: create new watch command for AWS Lambda functions
adrians5j Jul 3, 2024
e7e2c93
Merge remote-tracking branch 'refs/remotes/origin/adrian/watch-next' …
adrians5j Jul 3, 2024
06b65ac
wip: create new watch command for AWS Lambda functions
adrians5j Jul 3, 2024
00436aa
Merge remote-tracking branch 'refs/remotes/origin/adrian/watch-next' …
adrians5j Jul 3, 2024
9eb922d
wip: create new watch command for AWS Lambda functions
adrians5j Jul 3, 2024
a304567
Merge remote-tracking branch 'refs/remotes/origin/adrian/watch-next' …
adrians5j Jul 3, 2024
29208d6
wip: allow multiple teams assignment
adrians5j Jul 4, 2024
a4d5fa6
wip: create new watch command for AWS Lambda functions
adrians5j Jul 5, 2024
15a9266
wip: create new watch command for AWS Lambda functions
adrians5j Jul 5, 2024
87ec350
wip: create new watch command for AWS Lambda functions
adrians5j Jul 5, 2024
d88543b
wip: create new watch command for AWS Lambda functions
adrians5j Jul 5, 2024
eb7eca2
wip: create new watch command for AWS Lambda functions
adrians5j Jul 5, 2024
d1c0772
wip: create new watch command for AWS Lambda functions
adrians5j Jul 8, 2024
73f6313
wip: create new watch command for AWS Lambda functions
adrians5j Jul 8, 2024
0bf9ad6
wip: create new watch command for AWS Lambda functions
adrians5j Jul 8, 2024
8bf9c81
wip: create new watch command for AWS Lambda functions
adrians5j Jul 9, 2024
51df01c
wip: create new watch command for AWS Lambda functions
adrians5j Jul 9, 2024
01e1600
wip: create new watch command for AWS Lambda functions
adrians5j Jul 9, 2024
6f7df8d
wip: create new watch command for AWS Lambda functions
adrians5j Jul 9, 2024
0f723c3
Merge branch 'next' into adrian/watch-next
adrians5j Jul 9, 2024
fcd7341
wip: create new watch command for AWS Lambda functions
adrians5j Jul 9, 2024
5c49294
Merge remote-tracking branch 'origin/adrian/watch-next' into adrian/w…
adrians5j Jul 9, 2024
1948a46
Merge remote-tracking branch 'refs/remotes/origin/adrian/watch-next' …
adrians5j Jul 10, 2024
6997239
wip: enable multiple teams assignment
adrians5j Jul 10, 2024
507c4bb
wip: enable multiple teams assignment
adrians5j Jul 10, 2024
07dd193
chore: run prettier
adrians5j Jul 11, 2024
7153287
test: update tests
adrians5j Jul 11, 2024
cb1bdae
fix: update dependencies
adrians5j Jul 11, 2024
6d66fad
fix: update dependencies
adrians5j Jul 11, 2024
c2c1288
Merge remote-tracking branch 'refs/remotes/origin/next' into adrian/m…
adrians5j Jul 11, 2024
9efb97a
wip: enable multiple teams assignment
adrians5j Jul 11, 2024
9743bdf
wip: create data-migration
adrians5j Jul 11, 2024
ca22280
wip: create data-migration
adrians5j Jul 11, 2024
43fe1b6
wip: create data-migration
adrians5j Jul 11, 2024
a3c0aef
wip: create data-migration
adrians5j Jul 12, 2024
c259d71
Merge branch 'next' into adrian/multiple-teams
adrians5j Aug 8, 2024
5e55918
Merge remote-tracking branch 'refs/remotes/origin/next' into adrian/m…
adrians5j Sep 12, 2024
b98813f
wip: finalize multi teams feature
adrians5j Sep 13, 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
  •  
  •  
  •  
Prev Previous commit
Next Next commit
merge: next into upgrade-to-react-18
  • Loading branch information
Pavel910 committed Apr 5, 2024
commit a1225dccf2bfef79b8adfb3a3d02091bb5bfd7b0
134 changes: 89 additions & 45 deletions .github/workflows/pullRequests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@
name: Pull Requests
'on': pull_request
jobs:
validateWorkflows:
name: Validate workflows
steps:
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn --immutable
- name: Validate
run: npx github-actions-wac validate
runs-on: ubuntu-latest
env:
NODE_OPTIONS: '--max_old_space_size=4096'
YARN_ENABLE_IMMUTABLE_INSTALLS: false
validateCommits:
name: Validate commit messages
if: github.base_ref != 'dev'
Expand Down Expand Up @@ -50,12 +35,14 @@ jobs:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
constants:
name: Create constants
runs-on: ubuntu-latest
outputs:
global-cache-key: ${{ steps.global-cache-key.outputs.global-cache-key }}
run-cache-key: ${{ steps.run-cache-key.outputs.run-cache-key }}
is-fork-pr: ${{ steps.is-fork-pr.outputs.is-fork-pr }}
steps:
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Create global cache key
id: global-cache-key
run: >-
Expand All @@ -72,89 +59,111 @@ jobs:
run: >-
echo "is-fork-pr=${{ github.event.pull_request.head.repo.fork }}" >>
$GITHUB_OUTPUT
init:
name: Init
runs-on: ubuntu-latest
env:
NODE_OPTIONS: '--max_old_space_size=4096'
YARN_ENABLE_IMMUTABLE_INSTALLS: false
build:
name: Build
needs: constants
runs-on: webiny-build-packages
runs-on: blacksmith-8vcpu-ubuntu-2204
steps:
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .yarn/cache
path: ${{ github.base_ref }}/.yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v4
with:
path: .webiny/cached-packages
path: ${{ github.base_ref }}/.webiny/cached-packages
key: ${{ needs.constants.outputs.global-cache-key }}
- name: Install dependencies
run: yarn --immutable
working-directory: ${{ github.base_ref }}
- name: Build packages
run: yarn build:quick
working-directory: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .webiny/cached-packages
path: ${{ github.base_ref }}/.webiny/cached-packages
key: ${{ needs.constants.outputs.run-cache-key }}
env:
NODE_OPTIONS: '--max_old_space_size=4096'
YARN_ENABLE_IMMUTABLE_INSTALLS: false
staticCodeAnalysis:
needs:
- constants
- init
- build
name: Static code analysis
steps:
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .yarn/cache
path: ${{ github.base_ref }}/.yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v4
with:
path: .webiny/cached-packages
path: ${{ github.base_ref }}/.webiny/cached-packages
key: ${{ needs.constants.outputs.run-cache-key }}
- name: Install dependencies
run: yarn --immutable
working-directory: ${{ github.base_ref }}
- name: Check code formatting
run: yarn prettier:check
working-directory: ${{ github.base_ref }}
- name: Check dependencies
run: yarn adio
working-directory: ${{ github.base_ref }}
- name: Check TS configs
run: yarn check-ts-configs
working-directory: ${{ github.base_ref }}
- name: ESLint
run: yarn eslint
working-directory: ${{ github.base_ref }}
runs-on: ubuntu-latest
env:
NODE_OPTIONS: '--max_old_space_size=4096'
YARN_ENABLE_IMMUTABLE_INSTALLS: false
staticCodeAnalysisTs:
name: Static code analysis (TypeScript)
runs-on: webiny-build-packages
runs-on: blacksmith-8vcpu-ubuntu-2204
steps:
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .yarn/cache
path: ${{ github.base_ref }}/.yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn --immutable
working-directory: ${{ github.base_ref }}
- name: Build packages (full)
run: yarn build
working-directory: ${{ github.base_ref }}
- name: Check types for Cypress tests
run: yarn cy:ts
working-directory: ${{ github.base_ref }}
env:
NODE_OPTIONS: '--max_old_space_size=4096'
YARN_ENABLE_IMMUTABLE_INSTALLS: false
jestTestsNoStorage:
needs: constants
needs:
- constants
- build
name: ${{ matrix.package.cmd }}
strategy:
fail-fast: false
Expand All @@ -176,22 +185,29 @@ jobs:
with:
node-version: 18
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .yarn/cache
path: ${{ github.base_ref }}/.yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v4
with:
path: .webiny/cached-packages
path: ${{ github.base_ref }}/.webiny/cached-packages
key: ${{ needs.constants.outputs.run-cache-key }}
- name: Install dependencies
run: yarn --immutable
working-directory: ${{ github.base_ref }}
- name: Build packages
run: yarn build:quick
working-directory: ${{ github.base_ref }}
- name: Run tests
run: yarn test ${{ matrix.package.cmd }}
working-directory: ${{ github.base_ref }}
jestTestsDdb:
needs: constants
needs:
- constants
- build
name: ${{ matrix.package.cmd }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -228,22 +244,29 @@ jobs:
with:
node-version: 18
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .yarn/cache
path: ${{ github.base_ref }}/.yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v4
with:
path: .webiny/cached-packages
path: ${{ github.base_ref }}/.webiny/cached-packages
key: ${{ needs.constants.outputs.run-cache-key }}
- name: Install dependencies
run: yarn --immutable
working-directory: ${{ github.base_ref }}
- name: Build packages
run: yarn build:quick
working-directory: ${{ github.base_ref }}
- name: Run tests
run: yarn test ${{ matrix.package.cmd }}
working-directory: ${{ github.base_ref }}
jestTestsDdbEs:
needs: constants
needs:
- constants
- build
name: ${{ matrix.package.cmd }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -285,25 +308,32 @@ jobs:
role-to-assume: arn:aws:iam::726952677045:role/GitHubActionsWebinyJs
aws-region: eu-central-1
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .yarn/cache
path: ${{ github.base_ref }}/.yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v4
with:
path: .webiny/cached-packages
path: ${{ github.base_ref }}/.webiny/cached-packages
key: ${{ needs.constants.outputs.run-cache-key }}
- name: Install dependencies
run: yarn --immutable
working-directory: ${{ github.base_ref }}
- name: Build packages
run: yarn build:quick
working-directory: ${{ github.base_ref }}
- name: Run tests
run: yarn test ${{ matrix.package.cmd }}
working-directory: ${{ github.base_ref }}
permissions:
id-token: write
if: needs.constants.outputs.is-fork-pr != 'true'
jestTestsDdbOs:
needs: constants
needs:
- constants
- build
name: ${{ matrix.package.cmd }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -345,28 +375,33 @@ jobs:
role-to-assume: arn:aws:iam::726952677045:role/GitHubActionsWebinyJs
aws-region: eu-central-1
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .yarn/cache
path: ${{ github.base_ref }}/.yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v4
with:
path: .webiny/cached-packages
path: ${{ github.base_ref }}/.webiny/cached-packages
key: ${{ needs.constants.outputs.run-cache-key }}
- name: Install dependencies
run: yarn --immutable
working-directory: ${{ github.base_ref }}
- name: Build packages
run: yarn build:quick
working-directory: ${{ github.base_ref }}
- name: Run tests
run: yarn test ${{ matrix.package.cmd }}
working-directory: ${{ github.base_ref }}
permissions:
id-token: write
if: needs.constants.outputs.is-fork-pr != 'true'
verdaccioPublish:
name: Publish to Verdaccio
needs:
- constants
- init
- build
if: needs.constants.outputs.is-fork-pr != 'true'
steps:
- uses: actions/setup-node@v4
Expand All @@ -376,38 +411,47 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
path: ${{ github.base_ref }}
- uses: actions/cache@v4
with:
path: .yarn/cache
path: ${{ github.base_ref }}/.yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v4
with:
path: .webiny/cached-packages
path: ${{ github.base_ref }}/.webiny/cached-packages
key: ${{ needs.constants.outputs.run-cache-key }}
- name: Install dependencies
run: yarn --immutable
working-directory: ${{ github.base_ref }}
- name: Build packages
run: yarn build:quick
working-directory: ${{ github.base_ref }}
- name: Start Verdaccio local server
run: npx pm2 start verdaccio -- -c .verdaccio.yaml
working-directory: ${{ github.base_ref }}
- name: Configure NPM to use local registry
run: npm config set registry http://localhost:4873
working-directory: ${{ github.base_ref }}
- name: Set git email
run: git config --global user.email "webiny-bot@webiny.com"
working-directory: ${{ github.base_ref }}
- name: Set git username
run: git config --global user.name "webiny-bot"
working-directory: ${{ github.base_ref }}
- name: Create ".npmrc" file in the project root, with a dummy auth token
run: echo '//localhost:4873/:_authToken="dummy-auth-token"' > .npmrc
working-directory: ${{ github.base_ref }}
- name: Version and publish to Verdaccio
run: yarn release --type=verdaccio
working-directory: ${{ github.base_ref }}
- name: Upload verdaccio files
uses: actions/upload-artifact@v4
with:
name: verdaccio-files
retention-days: 1
path: |
.verdaccio/
.verdaccio.yaml
path: |-
${{ github.base_ref }}/.verdaccio/
${{ github.base_ref }}/.verdaccio.yaml
runs-on: ubuntu-latest
env:
NODE_OPTIONS: '--max_old_space_size=4096'
Expand Down
Loading
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.