Add minor fix #12
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: 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: macos-latest | |
strategy: | |
# Node versions list | |
matrix: | |
node-version: [19.x] | |
steps: | |
# 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: npm ci, build | |
# Install and build project | |
run: | | |
make ci | |
# Add environment variables | |
env: | |
CI: true | |
- name: Run linter | |
# Run Linter | |
run: | | |
make lint |