+17
@@ -0,0 +1,17 @@
|
||||
name: "Unit Tests"
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "Unit Tests on Ubuntu"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "18.x"
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
name: Security
|
||||
|
||||
permissions:
|
||||
contents: write # Needed by both CodeQL and dependency review
|
||||
pull-requests: write # Needed by dependency review
|
||||
statuses: write # Needed by dependency review (to post checks)
|
||||
security-events: write # Needed by CodeQL to upload SARIF
|
||||
packages: read # Needed by CodeQL for private/internal packs
|
||||
actions: read # Needed by CodeQL to access internal actions
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
codeql-javascript:
|
||||
uses: braintree/security-workflows/.github/workflows/codeql.yml@main
|
||||
with:
|
||||
language: javascript-typescript
|
||||
dependency-review:
|
||||
uses: braintree/security-workflows/.github/workflows/dependency-review.yml@main
|
||||
Reference in New Issue
Block a user