From 358b673c5af53e328f83b0a6c556c8146fdac1ca Mon Sep 17 00:00:00 2001 From: Jacob Karlsson Date: Sun, 5 May 2024 16:48:00 +0200 Subject: [PATCH] Add codeberg ci --- .github/workflows/node.js.yml | 25 ------------------------- .woodpecker.yaml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/node.js.yml create mode 100644 .woodpecker.yaml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml deleted file mode 100644 index b3558e2..0000000 --- a/.github/workflows/node.js.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: CI - -on: - push: - branches: [master] - pull_request: - branches: [master] - -jobs: - test: - runs-on: ubuntu-latest - timeout-minutes: 10 - - strategy: - matrix: - node-version: [18.x, 20.x] - - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm test diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..d254f8d --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,13 @@ +matrix: + NODE_VERSION: + - 18 + - 20 + +steps: + test: + when: + event: [push] + image: node:${NODE_VERSION} + commands: + - npm install + - npm test \ No newline at end of file