Skip to content

Bump readfiletree from 1.1.1 to 2.0.0 #304

Bump readfiletree from 1.1.1 to 2.0.0

Bump readfiletree from 1.1.1 to 2.0.0 #304

Workflow file for this run

name: Test
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20, 22]
arch: [x86, x64]
exclude:
- { os: ubuntu-latest, arch: x86 }
- { os: macos-latest, arch: x86 }
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
architecture: ${{ matrix.arch }}
- name: Install
run: npm install
- name: Test
run: npm test
- name: Coverage
run: npm run coverage
- name: Codecov
uses: codecov/codecov-action@v3
with:
file: coverage/lcov.info
- name: Test Electron
if: ${{ matrix.node == '18' }}
uses: GabrielBB/xvfb-action@v1
with:
run: npm run test-electron
- name: Test GC
run: npm run test-gc