Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from snyk/feat/ignore-platform-qualifiers
feat: ignore platform qualifiers
- Loading branch information
Showing
29 changed files
with
344 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
prodsec: snyk/prodsec-orb@1.0 | ||
|
||
executors: | ||
docker-node: | ||
parameters: | ||
version: | ||
default: 'lts' | ||
type: string | ||
docker: | ||
- image: cimg/node:<<parameters.version>> | ||
|
||
commands: | ||
install: | ||
steps: | ||
- run: | ||
name: Install | ||
command: npm install | ||
test: | ||
steps: | ||
- run: | ||
name: Test | ||
command: npm test | ||
release: | ||
steps: | ||
- run: | ||
name: Release | ||
command: npx semantic-release | ||
|
||
jobs: | ||
test: | ||
resource_class: small | ||
parameters: | ||
node-version: | ||
type: string | ||
executor: | ||
name: docker-node | ||
version: << parameters.node-version >> | ||
steps: | ||
- checkout | ||
- install | ||
- test | ||
|
||
release: | ||
resource_class: small | ||
executor: | ||
name: docker-node | ||
steps: | ||
- checkout | ||
- install | ||
- release | ||
|
||
workflows: | ||
version: 2 | ||
test: | ||
jobs: | ||
- prodsec/secrets-scan: | ||
name: Scan repository for secrets | ||
context: | ||
- snyk-bot-slack | ||
channel: os-team-managed-alerts | ||
- test: | ||
name: Test Node << matrix.node-version >> | ||
context: nodejs-install | ||
matrix: | ||
parameters: | ||
node-version: ['16.1.0'] | ||
filters: | ||
branches: | ||
ignore: | ||
- master | ||
release: | ||
jobs: | ||
- release: | ||
name: Release | ||
context: nodejs-lib-release | ||
filters: | ||
branches: | ||
only: | ||
- master |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* @snyk/loki | ||
* @snyk/os-managed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8 | ||
16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
repos: | ||
- repo: https://github.com/gitleaks/gitleaks | ||
rev: v8.16.1 | ||
hooks: | ||
- id: gitleaks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
// remove the noise from express server logs | ||
process.env.LOG_LEVEL="fatal"; | ||
process.env.LOG_LEVEL = 'fatal'; | ||
|
||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.