Skip to content

Commit 793ebd3

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

6 files changed

Lines changed: 16 additions & 159 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: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,15 @@ 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
53-
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
35+
fetch-depth: 0
36+
token: ${{ secrets.GH_TOKEN }}
37+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5738

58-
- run: pnpm exec nx-cloud record -- nx format:check
59-
- run: pnpm exec nx affected -t build typecheck lint test e2e-ci
6039
- run: npx nx-cloud fix-ci
6140
if: always()
6241

@@ -65,15 +44,6 @@ jobs:
6544
directory: ./packages/
6645
token: ${{ secrets.CODECOV_TOKEN }}
6746

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-
7747
- name: Ensure builds run
7848
run: pnpm nx run-many -t build
7949
env:

.github/workflows/mend.yml

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

.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: 1 addition & 2 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",

0 commit comments

Comments
 (0)