Skip to content

deps, dates, CI, naturalise #18

deps, dates, CI, naturalise

deps, dates, CI, naturalise #18

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master, next ]
pull_request:
branches: [ master ]
jobs:
build:
permissions:
contents: read
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18, 20, 22, 23]
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm i @75lb/nature
- run: npm run test
env:
FORCE_COLOR: 3 # To enable testing of ansi-coloured output