diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2750076 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + - package-ecosystem: npm + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..354ee99 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + pull_request: + branches: + - main + - master + push: + branches: + - main + - master + +jobs: + unit-tests: + runs-on: ubuntu-latest + strategy: + matrix: + node: + - 12 + - 14 + - 16 + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + - name: Install Dependencies + run: npm clean-install + - name: Lint + run: npm run lint + - name: Test + run: npm test + - name: TypeScript Test + run: npx --package typescript tsc diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f7e5062..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -sudo: false -language: node_js -node_js: - - "10" - - "12" - - "14" - -before_install: - - travis_retry npm install - -script: - - npm test - -notifications: - email: - - travis@nodejitsu.com - irc: "irc.freenode.org#nodejitsu"