Skip to content

Commit 4981fee

Browse files
authored
Merge pull request #107 from hildjj/update-dependencies
Update dev dependencies
2 parents 891e664 + 7d9815c commit 4981fee

7 files changed

Lines changed: 617 additions & 609 deletions

File tree

.github/workflows/docs-only.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ jobs:
1919
- uses: actions/checkout@v6
2020
with:
2121
ref: ${{ github.event.inputs.branch }}
22-
- uses: pnpm/action-setup@v4
2322
- uses: actions/setup-node@v6
2423
with:
2524
node-version: 24
2625
registry-url: 'https://registry.npmjs.org'
2726
cache: pnpm
28-
- run: pnpm i -r
27+
- uses: pnpm/action-setup@v4
28+
with:
29+
cache: true
30+
run_install: true
2931
- run: npm run build
3032
- run: npm run docs
3133
- name: Deploy Docs

.github/workflows/node.js.yml

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,13 @@
1-
---
21
name: Tests
3-
42
on:
53
push:
64
branches: [main]
75
pull_request:
86
branches: [main]
9-
107
jobs:
118
build:
12-
13-
strategy:
14-
matrix:
15-
node-version: [20, 22, 24, 25]
16-
platform: [ubuntu-latest]
17-
18-
runs-on: ${{ matrix.platform }}
19-
20-
steps:
21-
- uses: actions/checkout@v6
22-
with:
23-
submodules: true
24-
- name: Install pnpm
25-
uses: pnpm/action-setup@v4
26-
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v6
28-
with:
29-
node-version: ${{ matrix.node-version }}
30-
cache: 'pnpm'
31-
- name: Dependencies
32-
run: pnpm install -r
33-
- name: Test ${{ matrix.node-version }} ${{ matrix.platform }}
34-
run: npm run ci
35-
- name: Upload coverage reports to Codecov
36-
uses: codecov/codecov-action@v5
37-
with:
38-
token: ${{ secrets.CODECOV_TOKEN }}
39-
9+
uses: cto-af/workflows/.github/workflows/node-ci.yml@main
10+
with:
11+
script: ci
12+
secrets:
13+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/playwright.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ jobs:
99
timeout-minutes: 60
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v5
13-
- uses: pnpm/action-setup@v4
12+
- uses: actions/checkout@v6
1413
- uses: actions/setup-node@v6
1514
with:
1615
node-version: lts/*
17-
cache: pnpm
18-
- name: Install dependencies
19-
run: pnpm i -r
16+
- name: Install pnpm
17+
uses: pnpm/action-setup@v4
18+
with:
19+
cache: true
20+
run_install: true
2021
- name: build
2122
run: npm run build && npm run docs
2223
- name: Get installed Playwright version

.github/workflows/publish.yml

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,12 @@ name: Publish Package to npmjs
22
on:
33
release:
44
types: [published]
5-
workflow_call:
6-
secrets:
7-
NPM_TOKEN:
8-
required: true
9-
105
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
environment: publish
6+
publish:
7+
uses: cto-af/workflows/.github/workflows/publish.yml@main
148
permissions:
159
contents: write
1610
id-token: write
17-
steps:
18-
- uses: actions/checkout@v6
19-
- uses: pnpm/action-setup@v4
20-
- uses: actions/setup-node@v6
21-
with:
22-
node-version: 24
23-
registry-url: 'https://registry.npmjs.org'
24-
cache: pnpm
25-
- run: pnpm i -r
26-
- run: npm run build
27-
- run: npm run docs
28-
- name: Deploy Docs
29-
uses: peaceiris/actions-gh-pages@v4
30-
with:
31-
github_token: ${{ secrets.GITHUB_TOKEN }}
32-
publish_dir: docs
33-
publish_branch: gh-pages
34-
destination_dir: docs
35-
- run: npm pkg delete devDependencies scripts packageManager pnpm
36-
- run: npm publish --access public --provenance
11+
with:
12+
docs: true
13+
script: ci

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,24 @@
7878
},
7979
"devDependencies": {
8080
"@cto.af/eslint-config": "6.2.5",
81-
"@eslint/markdown": "7.5.1",
82-
"@types/node": "^25.3.3",
83-
"cbor-edn": "0.2.2",
84-
"eslint": "10.0.2",
85-
"eslint-plugin-jsdoc": "62.7.1",
86-
"package-extract": "3.1.5",
81+
"@eslint/markdown": "^7.5.1",
82+
"@types/node": "^25.5.0",
83+
"cbor-edn": "^0.2.2",
84+
"eslint": "^10.1.0",
85+
"eslint-plugin-jsdoc": "^62.8.0",
86+
"package-extract": "^3.1.6",
8787
"rimraf": "^6.1.3",
88-
"superc8": "12.2.4",
89-
"tsup": "8.5.1",
90-
"typedoc": "0.28.17",
91-
"typescript-eslint": "8.56.1"
88+
"superc8": "^12.3.1",
89+
"tsup": "^8.5.1",
90+
"typedoc": "^0.28.17",
91+
"typescript-eslint": "^8.57.1"
9292
},
9393
"pnpm": {
9494
"overrides": {
9595
"cbor2": "link:."
9696
}
9797
},
98-
"packageManager": "pnpm@10.30.3",
98+
"packageManager": "pnpm@10.32.1",
9999
"engines": {
100100
"node": ">=20"
101101
}

0 commit comments

Comments
 (0)