Skip to content

Commit

Permalink
[Dev Deps] add missing peer deps; regenerate lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 21, 2024
1 parent cad5c6a commit 39a8774
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 60 deletions.
71 changes: 20 additions & 51 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,75 +6,44 @@ on:
- "!dependabot/**"
pull_request:
workflow_dispatch:

jobs:
jest:
name: Jest (Node v${{ matrix.node }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [14, 16, 17]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Load Node version ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Npm Install
run: npm ci
- name: Run Jest
run: npm run test:ci
- name: Run Coveralls
uses: coverallsapp/github-action@1.1.3
if: matrix.node == '16'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./reports/lcov.info
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '>= 0.4'
type: majors
command: npm run tests-only

flow:
name: Flow type checking
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Load Node
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: ljharb/actions/node/install@main
with:
cache: npm
- name: Npm Install
run: npm ci
use-npm-ci: true
- name: Flow type check
run: npm run flow

eslint:
name: ESLint (Node v${{ matrix.node }})
name: ESLint
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Load Node version ${{ matrix.node }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: ljharb/actions/node/install@main
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Npm Install
run: npm ci
use-npm-ci: true
- name: Run ESLint
run: npm run lint

diff-breakUpAriaJSON:
name: Compare JSON to src output
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Load Node version
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: ljharb/actions/node/install@main
with:
cache: npm
- name: Npm Install
run: npm ci
use-npm-ci: true
- name: Run diff check for the breakUpAriaJSON script
run: node scripts/buildModelModules.js && git diff --exit-code -- src
12 changes: 3 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/preset-env": "^7.19.4",
"@babel/preset-flow": "^7.18.6",
"@babel/register": "^7.24.6",
"encoding": "^0.1.13",
"eslint": "^8.26.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-flowtype": "^8.0.3",
Expand Down

0 comments on commit 39a8774

Please sign in to comment.