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

infra: retry e2e once #1

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- os: windows-latest
node_version: 18
fail-fast: false
timeout-minutes: 10

name: 'Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
steps:
Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
env:
LANG: zh_SG.UTF-8
TZ: Asia/Singapore
timeout-minutes: 10

name: 'Timezone Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
steps:
Expand Down Expand Up @@ -108,6 +110,7 @@ jobs:

e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 15
name: 'E2E Doc Test: node-18, ubuntu-latest'
steps:
- name: Checkout
Expand All @@ -129,11 +132,18 @@ jobs:
- name: Build docs
run: pnpm run docs:build:ci

- name: Run e2e
- id: e2e
name: Run e2e
run: timeout 5m pnpm run docs:test:e2e:run
continue-on-error: true

- name: Run e2e (2nd attempt)
if: ${{ steps.e2e.outcome != 'success' }}
run: pnpm run docs:test:e2e:run

lint:
runs-on: ubuntu-latest
timeout-minutes: 10
name: 'Lint: node-18, ubuntu-latest'
steps:
- name: Checkout
Expand Down Expand Up @@ -165,6 +175,7 @@ jobs:

ts-check-scripts:
runs-on: ubuntu-latest
timeout-minutes: 10
name: 'TS-Check Scripts: node-18, ubuntu-latest'
steps:
- name: Checkout
Expand Down Expand Up @@ -193,6 +204,7 @@ jobs:

ts-check-tests:
runs-on: ubuntu-latest
timeout-minutes: 10
name: 'TS-Check Tests: node-18, ubuntu-latest'
steps:
- name: Checkout
Expand Down Expand Up @@ -221,6 +233,7 @@ jobs:

codecov:
runs-on: ubuntu-latest
timeout-minutes: 10
name: 'Codecov: node-18, ubuntu-latest'
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:
jobs:
check-code-generation:
runs-on: ubuntu-latest
timeout-minutes: 10
name: 'Check Code Generation: node-18, ubuntu-latest'
permissions:
pull-requests: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ on:
- synchronize

permissions: {}

jobs:
main:
permissions:
pull-requests: read # to analyze PRs (amannn/action-semantic-pull-request)
statuses: write # to mark status of analyzed PR (amannn/action-semantic-pull-request)

runs-on: ubuntu-latest
timeout-minutes: 10
name: Semantic Pull Request
steps:
- name: Validate PR title
Expand Down
3 changes: 0 additions & 3 deletions src/locales/en/word/adjective.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ export default [
'grimy',
'gripping',
'grizzled',
'gross',
'grotesque',
'grouchy',
'grounded',
Expand Down Expand Up @@ -540,7 +539,6 @@ export default [
'idolized',
'ignorant',
'ill',
'illegal',
'ill-fated',
'ill-informed',
'illiterate',
Expand Down Expand Up @@ -739,7 +737,6 @@ export default [
'mysterious',
'naive',
'narrow',
'nasty',
'natural',
'naughty',
'nautical',
Expand Down
Loading