Skip to content

Commit

Permalink
added ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alestor123 authored Jul 1, 2021
1 parent a9c67b6 commit c543d66
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI
on:
push:
paths-ignore:
- 'docs/**'
- 'docs-content/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- 'docs-content/**'
- '*.md'
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 16
- 14
- 12
- 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
env:
GHTOKEN: ${{secrets.GHTOKEN}}

0 comments on commit c543d66

Please sign in to comment.