Skip to content

Change to replace Buffer with Uint8Array #120

Change to replace Buffer with Uint8Array

Change to replace Buffer with Uint8Array #120

Workflow file for this run

name: main
on:
- pull_request
- push
jobs:
main:
name: test / vfile / ${{matrix.node}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{matrix.node}}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v3
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
node:
- lts/gallium
- node
canary:
name: canary / ${{matrix.package}} / ${{matrix.node}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
steps:
- name: checkout vfile
uses: actions/checkout@v2
- name: setup node
uses: dcodeIO/setup-node-nvm@master
with:
node-version: ${{matrix.node}}
- name: setup vfile
run: |
npm install -g npm
npm install
npm run build
- name: checkout ${{matrix.package}}
uses: actions/checkout@v2
with:
repository: ${{matrix.package}}
path: canary/${{matrix.package}}
- name: test ${{matrix.package}}
run: |
npm install
npx rimraf "node_modules/**/vfile"
npm test
working-directory: canary/${{matrix.package}}
strategy:
fail-fast: false
max-parallel: 2
matrix:
os:
- ubuntu-latest
node:
- lts/hydrogen
package:
- vfile/to-vfile
- vfile/vfile-location
- vfile/vfile-reporter
- vfile/vfile-find-up
- vfile/vfile-find-down
- unifiedjs/unified