Skip to content

github action: added badge to readme #7

github action: added badge to readme

github action: added badge to readme #7

Workflow file for this run

name: Node.js (install, build and test)
on:
push:
branches: [ "bleeding-edge" ]
pull_request:
branches: [ "bleeding-edge" ]
jobs:
build:
strategy:
matrix:
node-version: [18.x, 20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test