Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite committed Mar 29, 2022
1 parent 4348c7c commit bb8e6ff
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 4,252 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Dragon CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
Loading

0 comments on commit bb8e6ff

Please sign in to comment.