Skip to content

Commit

Permalink
Merge branch 'next' into renovate/major-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Nov 9, 2024
2 parents a80b64e + 9ecf99b commit 3794e87
Show file tree
Hide file tree
Showing 14 changed files with 256 additions and 345 deletions.
73 changes: 0 additions & 73 deletions .github/workflows/commentCodeGeneration.ts

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Integration Test

on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 1' # weekly on Mondays at 03:00

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
integration_test:
name: Integration Test
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0

- name: Set node version to 22
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 22
cache: 'pnpm'

- name: Install deps
run: pnpm install
env:
CYPRESS_INSTALL_BINARY: 0

- name: Build
run: pnpm run build

- name: Integration Test
run: pnpm run integration-test
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
check-code-generation:
runs-on: ubuntu-latest
timeout-minutes: 10
name: 'Check Code Generation: node-22, ubuntu-latest'

name: 'Check Code Generation: node-22, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/preflight-comment.yml

This file was deleted.

1 change: 0 additions & 1 deletion cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"target": "ES5",
"lib": ["ES2015", "DOM"],
"types": ["cypress"],
"esModuleInterop": true,
"noEmit": true,
"resolveJsonModule": true
},
Expand Down
1 change: 0 additions & 1 deletion docs/guide/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ In order to have Faker working properly, you need to check if these `compilerOpt
```json
{
"compilerOptions": {
"esModuleInterop": true,
"moduleResolution": "Bundler", // "Node10", "Node16" or "NodeNext"
"strict": true // Optional, but recommended
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"test": "vitest",
"test:update-snapshots": "vitest run -u",
"coverage": "vitest run --coverage",
"integration-test": "vitest -c vitest.it-config.ts",
"cypress": "cypress",
"docs:test:e2e:ci": "run-s docs:build:ci docs:test:e2e:run",
"docs:test:e2e:run": "run-p --race docs:serve \"cypress run\"",
Expand Down Expand Up @@ -103,7 +104,6 @@
"dist"
],
"devDependencies": {
"@actions/github": "6.0.0",
"@eslint/compat": "1.2.2",
"@eslint/js": "9.14.0",
"@stylistic/eslint-plugin": "2.10.1",
Expand Down
Loading

0 comments on commit 3794e87

Please sign in to comment.