Skip to content

Commit

Permalink
feat: add github action ci workflow (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeplets committed Mar 27, 2023
1 parent 150a696 commit 53909e0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Continuous Integration"
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
continuous-integration:
name: continuous-integration
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
mocha-version: [3, 4, 5, 6, 7, 8, 9, 10]
node-version: [14, 16, 18, 19]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version}}
- name: install dependencies
run: |
npm ci
npm i mocha@${{ matrix.mocha-version}}
- name: test
run: |
npm test

0 comments on commit 53909e0

Please sign in to comment.