From 52bc9be3503e5bb8c9dcb5dc6c3b07c6f1d9ca48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zochniak?= Date: Tue, 22 Sep 2026 13:21:26 +0200 Subject: [PATCH] Remove traivs, add github workflow --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++++ .travis.yml | 10 ---------- 2 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..82cd6069 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,37 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read # access to check out code and install dependencies + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [22, 24, 26] + + steps: + - name: Checkout code + uses: actions/checkout@v7 + + - name: Setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v7 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + + - name: Install dependencies + run: npm ci + + - name: Build project + run: make build + + - name: Run tests + run: make test-server diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f8f9a9ec..00000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: node_js -node_js: - - "node" -notifications: - slack: - rooms: - secure: W5hUm0MPWJ3v2VGRAq9fxgroVvqFOkwnbrxllEX3Zadf3e909fwQzm7KEUvSEd9fhsKrdBxPrphCZd1UCq5cXjCkfokKFojnbgnYPKZYgL4M7GWqiURCfIUY7r0gQCDnFzIIANacIbhT8089IkQva8QWCdfX4zVycTKOvMC0msE= -branches: - only: - - master