mirror of
https://github.com/d3/d3.git
synced 2025-12-08 19:46:24 +00:00
* documentation for https://github.com/d3/d3-scale-chromatic/pull/51 * upgrade dependencies * add d3.schemeObservable10 to index * update actions --------- Co-authored-by: Mike Bostock <mbostock@gmail.com>
25 lines
509 B
YAML
25 lines
509 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: 'yarn'
|
|
- run: yarn --frozen-lockfile
|
|
- run: |
|
|
echo ::add-matcher::.github/eslint.json
|
|
yarn run eslint src test --format=compact
|
|
- run: yarn test
|
|
- run: yarn prepublishOnly
|
|
- run: yarn docs:build
|