Skip to content

Commit

Permalink
Merge pull request #25 from dzonatan/github-actions
Browse files Browse the repository at this point in the history
chore: create github actions workflow for testing
  • Loading branch information
dzonatan authored Dec 17, 2020
2 parents 50a69e3 + a9ce22a commit 6fc490f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install
- run: npm run test:ci

0 comments on commit 6fc490f

Please sign in to comment.