Release 2.2.4 #261
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Name of workflow | |
name: Node CI | |
# Trigger the workflow on push or pull request | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
# The type of machine to run the job on | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# OS list | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
# Node versions list | |
node-version: [14, 18, 21] | |
steps: | |
# When using the package on windows, line breaks will not be converted | |
- run: git config --global core.autocrlf false | |
# Check-out repository under GitHub workspace | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v3 | |
# 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 }} | |
- name: Install dependencies | |
# Install project | |
run: | | |
make install | |
# Add environment variables | |
env: | |
CI: true | |
- name: Run linter | |
run: | | |
make lint | |
- name: Test | |
run: | | |
make test |