Skip to content

Remove ESLint configuration #4

Remove ESLint configuration

Remove ESLint configuration #4

Workflow file for this run

name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x, 23.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies and test
run: |
npm install --no-save --ignore-scripts
tmp=$(mktemp --directory)
bash -O dotglob -O extglob -c 'mv !(node_modules|test.js) "$1"/' bash "$tmp"
pack=$(npm pack "$tmp")
node -p '"sha512-" + Buffer.from(process.argv[1], "hex").toString("base64")' $(sha512sum -- "$pack")
tar --strip-components=1 -x -v -f "$pack"
npm install --no-save
node test