Skip to content

Commit

Permalink
Merge pull request #388 from adobecom/2339
Browse files Browse the repository at this point in the history
DC MILL 0.2339
  • Loading branch information
Blainegunn authored Sep 26, 2023
2 parents b2c05d4 + 795aa1b commit de8bf1e
Show file tree
Hide file tree
Showing 20 changed files with 364 additions and 223 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/test-milo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
browser: firefox
- os: windows-latest
browser: chromium
- os: macos-latest
browser: webkit
name: Smoke Test
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -47,21 +54,16 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci --ignore-scripts

- name: Install browsers
run: npx playwright install --with-deps ${{ matrix.browser }}

- name: Run the tests
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
npx playwright install --with-deps firefox
xvfb-run -a npx run test/e2e/frictionless -t "@smoke and not @analytics" --browser firefox
elif [ "$RUNNER_OS" == "macOS" ]; then
npx playwright install --with-deps webkit
npx run test/e2e/frictionless -t "@smoke and not @analytics" --browser webkit
else
npx playwright install --with-deps chromium
npx run test/e2e/frictionless -t "@smoke and not @analytics"
fi
shell: bash
run: npx run test/e2e/frictionless -t "@smoke and not @analytics" -h -p prod -b ${{ matrix.browser }} --bypassBotDetection
env:
USER_AGENT_SUFFIX: "${{ secrets.USER_AGENT_SUFFIX }}"

- name: Save test logs
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: reports
Expand Down
10 changes: 8 additions & 2 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": ["stylelint-config-standard", "stylelint-config-prettier"]
}
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"rules": {
"selector-id-pattern": "^[a-zA-Z][a-zA-Z0-9_-]+$",
"selector-class-pattern": "^[a-zA-Z][a-zA-Z0-9_-]+$",
"keyframes-name-pattern": "^[a-zA-Z][a-zA-Z0-9_-]+$",
"property-no-vendor-prefix": [true, {"ignoreProperties": ["transition", "mask-position", "mask"]}]
}
}
Loading

0 comments on commit de8bf1e

Please sign in to comment.