Skip to content

update

update #1

Workflow file for this run

# Name of workflow
name: Node CI
# Trigger the workflow on push or pull request
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
CI: true
jobs:
build:
# The type of machine to run the job on
runs-on: ubuntu-latest
strategy:
# Node versions list
matrix:
node-version: [20.x]
steps:
# Check-out repository under GitHub workspace
# https://github.com/actions/checkout
- uses: actions/checkout@v4
# Step's name
- name: Use Node.js ${{ matrix.node-version }}
# Configures the node version used on GitHub-hosted runners
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
# The Node.js version to configure
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: make install
- run: make lint
- run: make test