gitea workflow
Some checks failed
CI Pipeline / build (20.x) (push) Failing after 27s

This commit is contained in:
Lee 2023-10-19 11:52:43 +01:00
parent 51e15ad046
commit eb86e3e4c5
3 changed files with 26 additions and 24 deletions

23
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,23 @@
name: CI Pipeline
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm run lint
- run: npm run coverage
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -1,21 +0,0 @@
name: CI Pipeline
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
- run: npm run coverage

View File

@ -18,7 +18,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/mistval/node-fetch-cache.git"
"url": "git+https://git.fascinated.cc/Fascinated/node-fetch-cache.git"
},
"keywords": [
"node",
@ -30,9 +30,9 @@
"author": "mistval",
"license": "MIT",
"bugs": {
"url": "https://github.com/mistval/node-fetch-cache/issues"
"url": "https://git.fascinated.cc/Fascinated/node-fetch-cache/issues"
},
"homepage": "https://github.com/mistval/node-fetch-cache#readme",
"homepage": "https://git.fascinated.cc/Fascinated/node-fetch-cache#readme",
"devDependencies": {
"eslint": "^8.9.0",
"eslint-config-airbnb-base": "^15.0.0",