Skip to content

Commit

Permalink
Addingfixes for separate builds
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-murray authored Mar 17, 2021
1 parent 0efb247 commit 8751e2f
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ updates:
interval: daily

- package-ecosystem: npm
directory: "nodejs"
directory: "/nodejs"
registries:
- "npm-github"
schedule:
interval: daily
11 changes: 7 additions & 4 deletions .github/workflows/java_build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Java CI with Maven
name: Java - CI with Maven

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- java/**

pull_request_target:
paths:
- java/**

jobs:
build:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/nodejs_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Node.js - Build and Test

on:
push:
paths:
- nodejs/**

pull_request_target:
paths:
- nodejs/**

jobs:
build_and_test:
name: Build and Test

runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'

- name: npm ci
run: npm ci

- name: npm test
run: npm test

0 comments on commit 8751e2f

Please sign in to comment.