Skip to content

Commit 39a8774

Browse files
committed
[Dev Deps] add missing peer deps; regenerate lockfile
1 parent cad5c6a commit 39a8774

File tree

3 files changed

+25
-60
lines changed

3 files changed

+25
-60
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -6,75 +6,44 @@ on:
66
- "!dependabot/**"
77
pull_request:
88
workflow_dispatch:
9+
910
jobs:
10-
jest:
11-
name: Jest (Node v${{ matrix.node }})
12-
runs-on: ubuntu-latest
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
node: [14, 16, 17]
17-
steps:
18-
- name: Checkout
19-
uses: actions/checkout@v3
20-
- name: Load Node version ${{ matrix.node }}
21-
uses: actions/setup-node@v3
22-
with:
23-
node-version: ${{ matrix.node }}
24-
cache: npm
25-
- name: Npm Install
26-
run: npm ci
27-
- name: Run Jest
28-
run: npm run test:ci
29-
- name: Run Coveralls
30-
uses: coverallsapp/[email protected]
31-
if: matrix.node == '16'
32-
with:
33-
github-token: ${{ secrets.GITHUB_TOKEN }}
34-
path-to-lcov: ./reports/lcov.info
11+
tests:
12+
uses: ljharb/actions/.github/workflows/node.yml@main
13+
with:
14+
range: '>= 0.4'
15+
type: majors
16+
command: npm run tests-only
17+
3518
flow:
3619
name: Flow type checking
3720
runs-on: ubuntu-latest
3821
steps:
39-
- name: Checkout
40-
uses: actions/checkout@v3
41-
- name: Load Node
42-
uses: actions/setup-node@v3
22+
- uses: actions/checkout@v4
23+
- uses: ljharb/actions/node/install@main
4324
with:
44-
cache: npm
45-
- name: Npm Install
46-
run: npm ci
25+
use-npm-ci: true
4726
- name: Flow type check
4827
run: npm run flow
28+
4929
eslint:
50-
name: ESLint (Node v${{ matrix.node }})
30+
name: ESLint
5131
runs-on: ubuntu-latest
52-
strategy:
53-
matrix:
54-
node: [16]
5532
steps:
56-
- name: Checkout
57-
uses: actions/checkout@v3
58-
- name: Load Node version ${{ matrix.node }}
59-
uses: actions/setup-node@v3
33+
- uses: actions/checkout@v4
34+
- uses: ljharb/actions/node/install@main
6035
with:
61-
node-version: ${{ matrix.node }}
62-
cache: npm
63-
- name: Npm Install
64-
run: npm ci
36+
use-npm-ci: true
6537
- name: Run ESLint
6638
run: npm run lint
39+
6740
diff-breakUpAriaJSON:
6841
name: Compare JSON to src output
6942
runs-on: ubuntu-latest
7043
steps:
71-
- name: Checkout
72-
uses: actions/checkout@v3
73-
- name: Load Node version
74-
uses: actions/setup-node@v3
44+
- uses: actions/checkout@v4
45+
- uses: ljharb/actions/node/install@main
7546
with:
76-
cache: npm
77-
- name: Npm Install
78-
run: npm ci
47+
use-npm-ci: true
7948
- name: Run diff check for the breakUpAriaJSON script
8049
run: node scripts/buildModelModules.js && git diff --exit-code -- src

package-lock.json

Lines changed: 3 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@
3232
"@babel/cli": "^7.19.3",
3333
"@babel/core": "^7.19.6",
3434
"@babel/eslint-parser": "^7.19.1",
35+
"@babel/plugin-transform-react-jsx": "^7.14.9",
3536
"@babel/preset-env": "^7.19.4",
3637
"@babel/preset-flow": "^7.18.6",
3738
"@babel/register": "^7.24.6",
39+
"encoding": "^0.1.13",
3840
"eslint": "^8.26.0",
3941
"eslint-config-airbnb-base": "^15.0.0",
4042
"eslint-plugin-flowtype": "^8.0.3",

0 commit comments

Comments
 (0)