-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Complete redesign, namespaces support, refactor (#3109)
BREAKING CHANGE: Complete redesign, brand new API
- Loading branch information
Showing
644 changed files
with
27,900 additions
and
31,887 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
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 |
---|---|---|
|
@@ -25,14 +25,14 @@ jobs: | |
] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
path: root | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.x' | ||
node-version: '16.15.1' | ||
|
||
- run: npm install -g [email protected] | ||
|
||
|
@@ -43,7 +43,7 @@ jobs: | |
|
||
- run: mkdir -p testapps/${{ matrix.project }} | ||
|
||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
token: '${{ secrets.TOLGEE_MACHINE_PAT }}' | ||
repository: tolgee/${{ matrix.project }}-example | ||
|
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 |
---|---|---|
@@ -0,0 +1,158 @@ | ||
name: Report intermittent E2E Tests | ||
|
||
on: | ||
schedule: | ||
- cron: '42 04 * * *' | ||
|
||
jobs: | ||
test: | ||
name: 'Test' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.15.1' | ||
|
||
- uses: pnpm/[email protected] | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7.16.0 | ||
run_install: false | ||
|
||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
with: | ||
path: .pnpm-store/v3 | ||
key: ${{ runner.os }}-pnpm-test-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-test- | ||
- name: Turbo Cache | ||
id: turbo-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: .turbo | ||
key: turbo-${{ github.job }}-${{ github.sha }} | ||
restore-keys: | | ||
turbo-${{ github.job }}- | ||
- name: Install | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Build all packages | ||
run: pnpm build || pnpm build | ||
|
||
- name: Test | ||
run: pnpm run test | ||
|
||
cypress-prepare: | ||
name: 'Cypress prepare' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.15.1' | ||
|
||
- uses: pnpm/[email protected] | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7.16.0 | ||
run_install: false | ||
|
||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
with: | ||
path: | | ||
.pnpm-store/v3 | ||
~/.cache/Cypress | ||
key: ${{ runner.os }}-pnpm-cypress-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-cypress- | ||
- name: Turbo Cache | ||
id: turbo-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: .turbo | ||
key: turbo-cypress-${{ github.sha }} | ||
restore-keys: | | ||
turbo-cypress- | ||
- name: Install | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Build | ||
run: pnpm build || pnpm build | ||
|
||
- name: Build e2e | ||
run: pnpm build:e2e | ||
|
||
- id: set-dirs | ||
run: echo "::set-output name=dirs::$(ls | jq -R -s -c 'split("\n")[:-1]')" | ||
working-directory: e2e/cypress/e2e | ||
|
||
outputs: | ||
dirs: ${{ steps.set-dirs.outputs.dirs }} | ||
|
||
cypress: | ||
name: 'Cypress' | ||
# cypress-prepare will install and build everything into cache | ||
needs: cypress-prepare | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
app: ${{ fromJson(needs.cypress-prepare.outputs.dirs) }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.15.1' | ||
|
||
- uses: pnpm/[email protected] | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7.16.0 | ||
run_install: false | ||
|
||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
with: | ||
path: | | ||
.pnpm-store/v3 | ||
~/.cache/Cypress | ||
key: ${{ runner.os }}-pnpm-cypress-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-cypress- | ||
- name: Turbo Cache | ||
id: turbo-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: .turbo | ||
key: turbo-cypress-${{ github.sha }} | ||
restore-keys: | | ||
turbo-cypress- | ||
- name: Install | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Cypress | ||
run: pnpm run e2e run --headed ${{matrix.app}} --stdout prod,dev | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: cypress | ||
path: | | ||
e2e/cypress/videos/**/* | ||
e2e/cypress/screenshots/**/* |
Oops, something went wrong.