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

24 lines
480 B
YAML
Raw Normal View History

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