Skip to content

Commit

Permalink
Merge branch 'master' into fix_add
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh authored May 10, 2023
2 parents 22333c4 + 990ce92 commit 689454b
Show file tree
Hide file tree
Showing 163 changed files with 2,501 additions and 1,038 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Acceptance Tests
on: [push]
on: [push, pull_request]
jobs:
core:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
name: Core Basic
timeout-minutes: 45
Expand Down Expand Up @@ -56,6 +57,7 @@ jobs:
path: cypress/videos

coreblocks:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
name: Core Blocks
timeout-minutes: 35
Expand Down Expand Up @@ -110,6 +112,7 @@ jobs:
path: cypress/videos

corevoltoslate:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
name: Core Volto Slate
timeout-minutes: 45
Expand Down Expand Up @@ -164,6 +167,7 @@ jobs:
path: cypress/videos

core5:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
name: Core Basic - Plone 5
strategy:
Expand Down Expand Up @@ -217,6 +221,7 @@ jobs:
path: cypress/videos

coresandbox:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
name: Coresandbox
timeout-minutes: 35
Expand Down Expand Up @@ -270,6 +275,7 @@ jobs:
path: cypress/videos

guillotina:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Guillotina
runs-on: ubuntu-latest
timeout-minutes: 35
Expand Down Expand Up @@ -325,6 +331,7 @@ jobs:
path: cypress/videos

multilingual:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Multilingual
runs-on: ubuntu-latest
timeout-minutes: 35
Expand Down Expand Up @@ -379,6 +386,7 @@ jobs:
path: cypress/videos

workingcopy:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Working Copy
runs-on: ubuntu-latest
timeout-minutes: 35
Expand Down Expand Up @@ -458,6 +466,7 @@ jobs:
path: cypress/videos

generator:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Project Generator
runs-on: ubuntu-latest
timeout-minutes: 35
Expand Down Expand Up @@ -553,6 +562,7 @@ jobs:
working-directory: ${{env.generator-directory}}

seamless:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Seamless Mode
runs-on: ubuntu-latest
timeout-minutes: 35
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Code Analysis Check
on: [push]
on: [push, pull_request]
jobs:
prettier:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Prettier
runs-on: ubuntu-latest
strategy:
Expand All @@ -24,6 +25,7 @@ jobs:
run: yarn run prettier

eslint:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: ESlint
runs-on: ubuntu-latest
strategy:
Expand All @@ -46,6 +48,7 @@ jobs:
run: yarn run lint

i18n:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: i18n
runs-on: ubuntu-latest
strategy:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@ jobs:

- name: Build HTML documentation
run: make docs-html

- uses: errata-ai/vale-action@reviewdog
with:
# debug: true
files: all
env:
# Required, set by GitHub actions automatically:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

6 changes: 4 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Unit Tests
on: [push]
on: [push, pull_request]
jobs:
unit:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Core Unit Tests
runs-on: ubuntu-latest
strategy:
Expand All @@ -15,7 +16,8 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# remove workaround for 18.x once https://github.com/nodejs/node/issues/47563 is fixed
node-version: ${{ matrix.node-version == '18.x' && '18.15.0' || matrix.node-version }}
cache: yarn

# node install
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ selenium-screenshot-*.png
/selenium/
cypress/videos/
cypress/screenshots
/styles/Microsoft

# Local environment setup
.env
Expand Down
10 changes: 10 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
StylesPath = styles

MinAlertLevel = suggestion

Vocab = Base,Plone

Packages = Microsoft

[*.md]
BasedOnStyles = Vale, Microsoft
Loading

0 comments on commit 689454b

Please sign in to comment.