From c38ad91ac2ab65aea9e93c707de6e59ff4721d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Tue, 6 Aug 2024 12:00:01 +0100 Subject: [PATCH] chore: removed travis --- .github/workflows/main.yml | 28 +++++++++++++++++++--------- .travis.yml | 19 ------------------- 2 files changed, 19 insertions(+), 28 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2099f5b..60e9f46 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,17 +1,27 @@ name: Main Workflow -on: [push] +on: + push: + schedule: + - cron: "0 0 * * 0" jobs: build: name: Build + timeout-minutes: 10 strategy: matrix: - node-version: [12, 13, 14, 15, 16, 17, 18] + node-version: [14, 15, 16, 17, 18, 19, 20] runs-on: ubuntu-latest - container: node:${{ matrix.node-version }} + container: node:${{ matrix.node-version }}-buster steps: - - uses: actions/checkout@v1 - - run: node --version - - run: npm install - - run: npm install --only=dev - - run: npm run lint - - run: npm test + - name: Checkout code from repository + uses: actions/checkout@v4 + - name: Print Node.js information + run: node --version + - name: Install package + run: npm install + - name: Install package (development) + run: npm install --only=dev + - name: Verify Javascript code linting + run: npm run lint + - name: Run unit tests + run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0d7213f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -dist: trusty -language: node_js -node_js: - - "12" - - "13" - - "14" - - "15" - - "16" -install: - - npm install -script: npm run lint && npm test -deploy: - provider: npm - email: development@hive.pt - api_key: - secure: ehnw0wMkVbvsaiGX7Xz+tktXe+Ver2BDtvmtP9g9mLQwSGE+rsNW0c2H+T+xHQZEpTEfUHVtnOFzP/O2qJEF/pqyaTl1NkQA9Jmh5qHfOo+CNLyNDlnqb4tf5g5rU3VTElqv/OGvEZNHVoYBWKD4QRYitHgt9rk5dtINpS9x47xIw0LKQso34VNvYHw6xH274KbXywqlbWK7LCRmwGEAMBnIfPzXzJ7QJxcYrRcGaDulWWqbptfebk6jwzxU3/JHWfdb9sa4SjYbe4MafBJTzQGYQIaKGUcz8W62noOpaFi0b2+Hmso8qP1zuVu/QzFY+yzvVkDicsTWYpWEmBQbZYIyh1bpXdLxmML/lgZHkcTRKr0CGCCvjD8iL4g0GnNKIwRcZe+cGpoB6y+0q5OnOq+utJ0o5sVuavPev1qv7NB0xS1jAB0w/8FYfnQYzVbbtDfHc1QGsfw4Ddso3A/qZu5bKiHHyceoZ5Zvg2BgEoN9nhgXo7a4bDHp60Ivjf0Y1Ts+g0LrfbPrkxtmpXjCqaco5KSjcWC9qjHD/6uUm3IxhpnAuFC0GNJ6j36Cp8V8w8vOotj4FtsJQq55QXkckFSg/PE5U2i07T2uScQQ2vVmquYcfU4vwDFFVp0Hu+gOyApJjCQDoCDhAfr1mYdYqjrbJTaD6AWce0kAqAp75I8= - on: - tags: true - node_js: "8"