danger 12.2.0 → 12.3.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/CHANGELOG.md +5 -1
- package/Dockerfile +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -16,9 +16,13 @@
|
|
|
16
16
|
|
|
17
17
|
<!-- Your comment below this -->
|
|
18
18
|
|
|
19
|
-
|
|
20
19
|
<!-- Your comment above this -->
|
|
21
20
|
|
|
21
|
+
## 12.3.0
|
|
22
|
+
|
|
23
|
+
- Dockerfile changes - [@glensc]
|
|
24
|
+
- Use node 18 for pre-built versions of danger (used by Danger Swift / Kotlin et al) - [@heltoft]
|
|
25
|
+
|
|
22
26
|
## 12.2.0
|
|
23
27
|
|
|
24
28
|
- Adds a log when you run on GitHub Actions without being a pull_request - [@orta]
|
package/Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
FROM node:18-slim as
|
|
1
|
+
FROM node:18-slim as base
|
|
2
2
|
|
|
3
3
|
LABEL maintainer="Orta Therox"
|
|
4
4
|
LABEL "com.github.actions.name"="Danger JS Action"
|
|
@@ -7,6 +7,8 @@ LABEL "com.github.actions.icon"="zap"
|
|
|
7
7
|
LABEL "com.github.actions.color"="blue"
|
|
8
8
|
|
|
9
9
|
WORKDIR /usr/src/danger
|
|
10
|
+
|
|
11
|
+
FROM base as build
|
|
10
12
|
COPY package.json yarn.lock ./
|
|
11
13
|
RUN yarn install
|
|
12
14
|
COPY . .
|
|
@@ -15,9 +17,7 @@ RUN yarn remove 'typescript' --dev && yarn add 'typescript'
|
|
|
15
17
|
RUN yarn install --production --frozen-lockfile
|
|
16
18
|
RUN chmod +x distribution/commands/danger.js
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
FROM node:18-slim
|
|
20
|
-
WORKDIR /usr/src/danger
|
|
20
|
+
FROM base
|
|
21
21
|
ENV PATH="/usr/src/danger/node_modules/.bin:$PATH"
|
|
22
22
|
COPY package.json ./
|
|
23
23
|
COPY --from=build /usr/src/danger/distribution ./dist
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "danger",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.3.0",
|
|
4
4
|
"description": "Unit tests for Team Culture",
|
|
5
5
|
"main": "distribution/danger.js",
|
|
6
6
|
"typings": "distribution/danger.d.ts",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"build:watch": "tsc -w",
|
|
67
67
|
"link": "yarn run build && chmod +x distribution/commands/danger.js && yarn link",
|
|
68
68
|
"package": "yarn run pkg . --output brew-distribution/danger; zip -j brew-distribution/danger-macos.zip brew-distribution/danger; shasum -a 256 brew-distribution/danger-macos.zip",
|
|
69
|
-
"package:x64": "yarn run pkg . --output brew-distribution/danger-x64 --targets
|
|
70
|
-
"package:arm64": "yarn run pkg . --output brew-distribution/danger-arm64 --targets
|
|
69
|
+
"package:x64": "yarn run pkg . --output brew-distribution/danger-x64 --targets node18-macos-x64; zip -j brew-distribution/danger-macos-x64.zip brew-distribution/danger-x64; shasum -a 256 brew-distribution/danger-macos-x64.zip",
|
|
70
|
+
"package:arm64": "yarn run pkg . --output brew-distribution/danger-arm64 --targets node18-macos-arm64; zip -j brew-distribution/danger-macos-arm64.zip brew-distribution/danger-arm64; shasum -a 256 brew-distribution/danger-macos-arm64.zip",
|
|
71
71
|
"declarations": "ts-node ./scripts/create-danger-dts.ts",
|
|
72
72
|
"docs:cp_defs": "mkdir docs/docs_generate; cp source/danger.d.ts docs/docs_generate; cp node_modules/@octokit/rest/index.d.ts docs/docs_generate/github.d.ts",
|
|
73
73
|
"docs": "yarn run docs:cp_defs; yarn typedoc --ignoreCompilerErrors --mode modules --json docs/js_ref_dsl_docs.json --includeDeclarations source",
|