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/.gitea/workflows/ci.yml
Liam d5382860f3
Some checks failed
CI Pipeline / build (20.x) (push) Has been cancelled
fix ci
2023-10-19 11:55:49 +01:00

26 lines
536 B
YAML

name: CI Pipeline
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run lint
- run: npm run coverage
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}