Skip to content

WIP - for workflow testing. #2

WIP - for workflow testing.

WIP - for workflow testing. #2

Workflow file for this run

# GitHub Actions (.github/workflows/main.yml)
name: Node.js CI
on:
pull_request:
branches:
- main
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["node", "14", "13", "12", "11", "10"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install project dependencies
run: npm install
- name: Run tests
run: npm test
- name: Run linting
run: npm run lint