Skip to content

Commit 942944d

Browse files
committed
chore: update-ci.yml
remove unused mend.yml
1 parent e6e8fd2 commit 942944d

9 files changed

Lines changed: 145 additions & 342 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
run: pnpm config set store-dir ${{ inputs.pnpm-cache-folder }} --global
2525
shell: bash
2626

27-
- uses: actions/setup-node@v5
27+
- uses: actions/setup-node@v6
2828
with:
2929
node-version-file: ${{ inputs.node-version-file }}
3030
cache: 'pnpm'
@@ -58,6 +58,10 @@ runs:
5858

5959
- uses: nrwl/nx-set-shas@v4
6060

61+
- name: Check TS References are Synced
62+
shell: bash
63+
run: pnpm nx sync:check
64+
6165
- name: Run Nx build/lint/test/e2e
6266
run: pnpm exec nx affected -t build lint test e2e-ci
6367
shell: bash
@@ -68,5 +72,6 @@ runs:
6872
with:
6973
name: playwright-report
7074
path: |
71-
./**/.playwright/**
75+
./e2e/*/.playwright/**
76+
./e2e/**/.playwright/**
7277
retention-days: 30

.github/workflows/ci-fork.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
run_install: false
3030

31-
- uses: actions/setup-node@v4
31+
- uses: actions/setup-node@v6
3232
with:
3333
node-version-file: '.node-version'
3434
cache: 'pnpm'

.github/workflows/ci.yml

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,13 @@ jobs:
2727
- uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
30-
- uses: pnpm/action-setup@v4
31-
with:
32-
run_install: false
33-
- uses: actions/setup-node@v5
34-
id: cache
35-
with:
36-
node-version-file: '.node-version'
37-
cache: 'pnpm'
38-
39-
- run: pnpm install --frozen-lockfile
30+
token: ${{ secrets.GH_TOKEN }}
4031

41-
- run: pnpm dlx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yml" --stop-agents-after="e2e-ci" --with-env-vars="CODECOV_TOKEN"
42-
- run: pnpm nx sync:check
43-
44-
- name: Cache Playwright browsers
45-
uses: actions/cache@v4
32+
- name: Setup Project
33+
uses: ./.github/actions/setup
4634
with:
47-
path: ~/.cache/ms-playwright
48-
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
49-
restore-keys: |
50-
${{ runner.os }}-playwright-
51-
52-
- run: pnpm exec playwright install
35+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5336

54-
- uses: nrwl/nx-set-shas@v4
55-
# This line is needed for nx affected to work when CI is running on a PR
56-
- run: git branch --track main origin/main
57-
58-
- run: pnpm exec nx-cloud record -- nx format:check
59-
- run: pnpm exec nx affected -t build typecheck lint test e2e-ci
6037
- run: npx nx-cloud fix-ci
6138
if: always()
6239

@@ -65,15 +42,6 @@ jobs:
6542
directory: ./packages/
6643
token: ${{ secrets.CODECOV_TOKEN }}
6744

68-
- uses: actions/upload-artifact@v4
69-
if: ${{ !cancelled() }}
70-
with:
71-
name: playwright-report
72-
path: |
73-
**/.playwright
74-
**/test-results
75-
retention-days: 30
76-
7745
- name: Ensure builds run
7846
run: pnpm nx run-many -t build
7947
env:

.github/workflows/mend.yml

Lines changed: 0 additions & 117 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ jobs:
5252
uses: ./.github/actions/setup
5353
with:
5454
fetch-depth: 0
55-
token: ${{ secrets.GH_TOKEN }}
5655
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5756

5857
- name: publish

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
24

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"devDependencies": {
5353
"@changesets/changelog-github": "^0.5.0",
5454
"@changesets/cli": "^2.27.9",
55-
"@codecov/vite-plugin": "1.9.0",
5655
"@commitlint/cli": "^20.0.0",
5756
"@commitlint/config-conventional": "^20.0.0",
5857
"@commitlint/prompt": "^20.0.0",
@@ -77,7 +76,7 @@
7776
"@types/eslint": "9.6.1",
7877
"@types/estree": "^1.0.1",
7978
"@types/express": "5.0.1",
80-
"@types/node": "22.18.12",
79+
"@types/node": "24.7.2",
8180
"@typescript-eslint/eslint-plugin": "^8.45.0",
8281
"@typescript-eslint/parser": "^8.45.0",
8382
"@typescript-eslint/typescript-estree": "8.23.0",
@@ -121,7 +120,7 @@
121120
},
122121
"packageManager": "pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8",
123122
"engines": {
124-
"node": "^20 || ^22",
123+
"node": "^20 || ^22 || ^24",
125124
"pnpm": ">=10.17.1"
126125
},
127126
"nx": {

packages/protect/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Install both modules and their latest versions:
3636
npm install @forgerock/javascript-sdk @forgerock/protect
3737
```
3838

39+
```sh
40+
pnpm install @forgerock/javascript-sdk @forgerock/protect
41+
```
42+
3943
#### Initialization (Recommended)
4044

4145
The `@forgerock/protect` module has a `protect()` function that accepts configuration options and returns a set of methods for interacting with Protect. The two main responsibilities of the Ping Protect module are the initialization of the profiling and data collection and the completion and preparation of the collected data for the server. You can find these two methods on the API returned by `protect()`.

0 commit comments

Comments
 (0)