Skip to content

Commit 0d4dc6e

Browse files
committed
Picking up the seemingly abandonned pull request at mochajs#19
It was stated publish.js had too many changes. I went over them, they were all whitespace changes. Reverted them all, only the change to jsdoc/taffydb remains, as is the goal of this PR. Update jsdoc/salty to latest version. Update jsdoc from 4.0.3 to 4.0.4 Bunch of squashing done while testing reverting the whitespace so the diff is minimal.
1 parent f1342f1 commit 0d4dc6e

File tree

4 files changed

+1238
-3929
lines changed

4 files changed

+1238
-3929
lines changed

.github/workflows/nodejs.yml

Lines changed: 20 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,31 @@
1-
name: 'Build'
1+
name: Build
22

3-
on: ['push', 'pull_request']
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
413

514
jobs:
615
build:
716
name: 'Test on node ${{ matrix.node_version }} and ${{ matrix.os }}'
8-
runs-on: 'ubuntu-latest'
17+
runs-on: ${{ matrix.os }}
918
strategy:
1019
matrix:
11-
node_version: [12, 14, 16]
20+
node_version: [12, 14, 16, 18, 20, 22]
1221
os: ['ubuntu-latest']
1322
steps:
14-
- name: 'Checkout'
15-
uses: 'actions/checkout@master'
16-
17-
- name: 'Use Node.js ${{ matrix.node_version }}'
18-
uses: 'actions/setup-node@v2'
23+
- uses: actions/checkout@v4
1924
with:
20-
node-version: '${{ matrix.node_version }}'
21-
22-
- name: 'Cache node modules'
23-
uses: 'actions/cache@v2'
24-
env:
25-
cache-name: 'cache-node-modules'
25+
persist-credentials: false
26+
- uses: actions/setup-node@v4
2627
with:
27-
path: '~/.npm' # npm cache files are stored in `~/.npm` on Linux/macOS
28-
key: "${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}"
29-
restore-keys: |
30-
${{ runner.os }}-build-${{ env.cache-name }}-
31-
${{ runner.os }}-build-
32-
${{ runner.os }}-
33-
34-
- name: 'Install Dependencies'
35-
run: 'npm ci'
36-
37-
- name: 'Run Tests'
38-
run: 'npm test'
28+
node-version: ${{ matrix.node_version }}
29+
cache: 'npm'
30+
- run: npm ci --ignore-scripts
31+
- run: npm test

0 commit comments

Comments
 (0)