-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 913 Bytes
/
nodejs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This is a basic workflow to help you get started with Actions
name: Node CI
# Controls when the workflow will run
on: [push, pull_request]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of machine to run the job on
runs-on: ubuntu-latest
strategy:
# Node versions list
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- 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