Skip to content

Commit

Permalink
added main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alestor123 committed Jul 17, 2021
1 parent 77f9ef5 commit cf0e9e0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.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 cf0e9e0

Please sign in to comment.