diff options
| author | ST-DDT <[email protected]> | 2024-05-27 10:38:51 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-27 10:38:51 +0200 |
| commit | 29c5a183cded5712d8d7983a597bb54236b50374 (patch) | |
| tree | 95f55bde5e6e6b80dd9f884c550a586e8d29625c | |
| parent | 353e85cda53919c97fe9d190633b4c9c1401f213 (diff) | |
| download | faker-29c5a183cded5712d8d7983a597bb54236b50374.tar.xz faker-29c5a183cded5712d8d7983a597bb54236b50374.zip | |
infra(ci): enable node 22 (#2918)
| -rw-r--r-- | .github/workflows/ci.yml | 20 | ||||
| -rw-r--r-- | .github/workflows/pr.yml | 6 |
2 files changed, 13 insertions, 13 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe0ad5ce..627992e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - node_version: [18, 20] + node_version: [18, 20, 22] fail-fast: false timeout-minutes: 10 @@ -122,7 +122,7 @@ jobs: lint: runs-on: ubuntu-latest timeout-minutes: 10 - name: 'Lint: node-20, ubuntu-latest' + name: 'Lint: node-22, ubuntu-latest' steps: - name: Checkout uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 @@ -132,10 +132,10 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - - name: Set node version to 20 + - name: Set node version to 22 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 20 + node-version: 22 cache: 'pnpm' - name: Install deps @@ -152,7 +152,7 @@ jobs: ts-check: runs-on: ubuntu-latest timeout-minutes: 10 - name: 'TS-Check: node-20, ubuntu-latest' + name: 'TS-Check: node-22, ubuntu-latest' steps: - name: Checkout uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 @@ -162,10 +162,10 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - - name: Set node version to 20 + - name: Set node version to 22 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 20 + node-version: 22 cache: 'pnpm' - name: Install deps @@ -182,7 +182,7 @@ jobs: codecov: runs-on: ubuntu-latest timeout-minutes: 10 - name: 'Codecov: node-20, ubuntu-latest' + name: 'Codecov: node-22, ubuntu-latest' steps: - name: Checkout uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 @@ -192,10 +192,10 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - - name: Set node version to 20 + - name: Set node version to 22 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 20 + node-version: 22 cache: 'pnpm' - name: Install deps diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1b36e8e7..7c631d13 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,7 +10,7 @@ jobs: check-code-generation: runs-on: ubuntu-latest timeout-minutes: 10 - name: 'Check Code Generation: node-20, ubuntu-latest' + name: 'Check Code Generation: node-22, ubuntu-latest' permissions: pull-requests: write steps: @@ -22,10 +22,10 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - - name: Set node version to 20 + - name: Set node version to 22 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 20 + node-version: 22 cache: 'pnpm' - name: Install deps |
