Skip to content

Merge pull request #206 from nfroidure/fix/ci #61

Merge pull request #206 from nfroidure/fix/ci

Merge pull request #206 from nfroidure/fix/ci #61

Workflow file for this run

# This file is automatically generated by a `metapak`
# module. Do not change it here, your changes would
# be overridden.
name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: .github/workflows/install.sh
- run: echo "LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Install dependencies
run: npm ci
- name: Run pre-commit tests
run: npm run precz