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
395 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:
2023-03-14 00:11:09 +00:00
node-version: [12.x, 18.x, 19.x]
2023-03-14 00:09:41 +00:00
2021-06-12 23:26:05 +00:00
steps:
- uses: actions/checkout@v2
2023-01-07 15:24:58 +00:00
- name: Use Node.js 18.x
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