From eb86e3e4c5e3273db1c7825406604fc1b07409f8 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 19 Oct 2023 11:52:43 +0100 Subject: [PATCH] gitea workflow --- .gitea/workflows/ci.yml | 23 +++++++++++++++++++++++ .github/workflows/ci.yml | 21 --------------------- package.json | 6 +++--- 3 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 .gitea/workflows/ci.yml delete mode 100644 .github/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..14a5f59 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index cb02fd8..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -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 diff --git a/package.json b/package.json index da12d0d..3a56a51 100644 --- a/package.json +++ b/package.json @@ -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",