@nitra/cf-security 2.0.50 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +8 -5
- package/src/index.js +4 -17
- package/super-linter.log +2076 -1760
- package/.github/workflows/npm-publish.yml +0 -41
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
name: Node.js Package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- 'v*.*.*'
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
publish-npm:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
steps:
|
|
12
|
-
- uses: actions/checkout@v2
|
|
13
|
-
with:
|
|
14
|
-
# Full git history is needed to get a proper list of changed files within `super-linter` and for Changelog
|
|
15
|
-
fetch-depth: 0
|
|
16
|
-
|
|
17
|
-
################################
|
|
18
|
-
# Run Linter against code base #
|
|
19
|
-
################################
|
|
20
|
-
- name: Lint Code Base
|
|
21
|
-
uses: docker://ghcr.io/github/super-linter:slim-v4
|
|
22
|
-
env:
|
|
23
|
-
VALIDATE_ALL_CODEBASE: false
|
|
24
|
-
DEFAULT_BRANCH: master
|
|
25
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
26
|
-
|
|
27
|
-
- uses: JS-DevTools/npm-publish@v1
|
|
28
|
-
with:
|
|
29
|
-
token: ${{ secrets.NPM_TOKEN }}
|
|
30
|
-
access: public
|
|
31
|
-
|
|
32
|
-
- uses: scottbrenner/generate-changelog-action@master
|
|
33
|
-
id: Changelog
|
|
34
|
-
|
|
35
|
-
- name: Create Release
|
|
36
|
-
uses: softprops/action-gh-release@v1
|
|
37
|
-
with:
|
|
38
|
-
body: |
|
|
39
|
-
${{ steps.Changelog.outputs.changelog }}
|
|
40
|
-
env:
|
|
41
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|