Skip to content

Commit

Permalink
chore: fossa (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmal-signalfx authored Sep 29, 2022
1 parent 9e34755 commit 48d7adf
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
default:
image: 'cimg/node:lts'

include:
- project: 'ci-cd/templates'
ref: master
file: '/prodsec/.oss-scan.yml'

cache:
key:
files:
- package-lock.json
paths:
- .npm/
- node_modules/

stages:
- setup
- test
- build
- build-browser

oss-scan:
stage: setup
extends: .oss-scan

install:
stage: setup
script:
- npm ci

build:
stage: build
artifacts:
paths:
- proto/
script:
- npm run genprotobuf

test:
stage: test
script:
- npm run test:ci

lint:
stage: test
script:
- npm run lint

build-browser:
stage: build-browser
artifacts:
paths:
- build/
script:
- npm run build:browser

0 comments on commit 48d7adf

Please sign in to comment.