Skip to content

Commit

Permalink
Update dependencies (#344)
Browse files Browse the repository at this point in the history
* chore: Update deps, drop yarn, update ci actions.

* docs: Update docs to drop yarn.
  • Loading branch information
jheer committed Dec 28, 2023
1 parent 2accdff commit 58353e6
Show file tree
Hide file tree
Showing 6 changed files with 3,535 additions and 2,131 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,25 @@ jobs:

strategy:
matrix:
node: [18, 20, 21]
node: [18, 20]

name: Node ${{ matrix.node }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"

- name: Install dependencies
run: yarn --frozen-lockfile
- name: Install Node dependencies
run: npm ci

- name: Run linter
run: npm run lint

- name: Run tests
run: yarn test
run: npm run test

- name: Run linter
run: yarn lint
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Arquero uses modern JavaScript features, and so will not work with some outdated

### In Node.js or Application Bundles

First install `arquero` as a dependency, via `npm install arquero --save` or `yarn add arquero`. Arquero assumes Node version 12 or higher.
First install `arquero` as a dependency, for example via `npm install arquero --save`. Arquero assumes Node version 12 or higher.

Import using CommonJS module syntax:

Expand All @@ -118,5 +118,5 @@ import { op, table } from 'arquero';
To build and develop Arquero locally:

- Clone [https://github.com/uwdata/arquero](https://github.com/uwdata/arquero).
- Run `yarn` to install dependencies for all packages. If you don't have yarn installed, see [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install).
- Run `yarn test` to run test cases, `yarn perf` to run performance benchmarks, and `yarn build` to build output files.
- Run `npm i` to install dependencies.
- Run `npm test` to run test cases, `npm run perf` to run performance benchmarks, and `npm run build` to build output files.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Arquero uses modern JavaScript features, and so will not work with some outdated

### In Node.js or Application Bundles

First install `arquero` as a dependency, via `npm install arquero --save` or `yarn add arquero`. Arquero assumes Node version 12 or higher.
First install `arquero` as a dependency, for example via `npm install arquero --save`. Arquero assumes Node version 12 or higher.

Import using CommonJS module syntax:

Expand All @@ -118,5 +118,5 @@ import { op, table } from 'arquero';
To build and develop Arquero locally:

- Clone [https://github.com/uwdata/arquero](https://github.com/uwdata/arquero).
- Run `yarn` to install dependencies for all packages. If you don't have yarn installed, see [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install).
- Run `yarn test` to run test cases, `yarn perf` to run performance benchmarks, and `yarn build` to build output files.
- Run `npm i` to install dependencies.
- Run `npm test` to run test cases, `npm run perf` to run performance benchmarks, and `npm run build` to build output files.
Loading

0 comments on commit 58353e6

Please sign in to comment.