@aiursoft/utctime.js 1.0.9 → 1.0.11

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.
Files changed (2) hide show
  1. package/.gitlab-ci.yml +19 -0
  2. package/package.json +1 -1
package/.gitlab-ci.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  stages:
2
+ - s360
2
3
  - check
3
4
  - publish
4
5
 
@@ -7,8 +8,26 @@ workflow:
7
8
  - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
8
9
  - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
9
10
  when: never
11
+ - if: '$CI_COMMIT_BRANCH == "master"'
12
+ variables:
13
+ S360_PURPOSE: baseline
14
+ S360_CHECK_KEY: '$S360_BASELINE_KEY'
10
15
  - if: '$CI_COMMIT_BRANCH'
11
16
 
17
+ variables:
18
+ S360_PURPOSE: review
19
+ S360_CHECK_KEY: ''
20
+
21
+ s360:
22
+ stage: s360
23
+ script:
24
+ - export PATH="$PATH:$HOME/.dotnet/tools"
25
+ - dotnet tool update Aiursoft.S360.Client --global --add-source https://nuget.aiursoft.com/v3/index.json
26
+ - s360 check --path . --ecosystem npm --npm-lockfile-only --purpose "$S360_PURPOSE"
27
+ retry:
28
+ max: 2
29
+ when: runner_system_failure
30
+
12
31
  check:
13
32
  stage: check
14
33
  script:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiursoft/utctime.js",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Auto utc time",
5
5
  "main": "dist/cjs/utctime.js",
6
6
  "module": "dist/esm/utctime.js",