This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
node-fetch-cache/.github/workflows/ci.yml

22 lines
390 B
YAML
Raw Normal View History

2021-06-12 23:26:05 +00:00
name: CI Pipeline
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
2023-03-14 00:09:41 +00:00
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
2023-03-14 00:09:41 +00:00
2021-06-12 23:26:05 +00:00
steps:
- uses: actions/checkout@v2
- name: Use Node.js
2021-06-12 23:26:05 +00:00
uses: actions/setup-node@v1
with:
2023-03-14 00:09:41 +00:00
node-version: ${{ matrix.node-version }}
2021-06-12 23:26:05 +00:00
- run: npm ci
- run: npm run lint
- run: npm run coverage