mirror of
https://github.com/jprichardson/node-fs-extra.git
synced 2025-12-08 20:36:18 +00:00
* Test on more modern Node versions * Fix tests and note that deprecated constants are not exported Since https://github.com/nodejs/node/pull/49686, they are not enumerable properties, so Object.assign doesn't re-export them. Attempting to directly export them would trigger the deprecation warning.
25 lines
527 B
YAML
25 lines
527 B
YAML
name: Node.js CI
|
|
on:
|
|
push:
|
|
branches: master
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
node: [14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
|
|
os: [ubuntu-latest, macos-13, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ matrix.node }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- run: npm install
|
|
- run: npm test
|