Skip to content

Commit

Permalink
switch from travis to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Oct 6, 2023
1 parent aa5f17d commit 25d42ce
Show file tree
Hide file tree
Showing 5 changed files with 2,214 additions and 35 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/node.js.yml
@@ -0,0 +1,29 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 30

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: sudo apt install python3
- run: sudo apt install php-cli
- run: npm install
- run: npm test
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -10,7 +10,6 @@ test/child
dist/
*.deb
*.rpm
package-lock.json
.DS_Store
*.swp
*.swo
Expand Down
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

0 comments on commit 25d42ce

Please sign in to comment.