Skip to content

Add validation script #2

Add validation script

Add validation script #2

Workflow file for this run

# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# https://nodejs.org/en/about/releases/
node-version: [ 21.7.x ]
steps:
- uses: 'actions/checkout@v3'
- name: Use Node.js ${{ matrix.node-version }}
uses: 'actions/setup-node@v3'
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: 'Enable Corepack'
# language=bash
run: 'corepack enable'
- name: 'Run the tests'
# language=bash
run: 'make validate'