File tree Expand file tree Collapse file tree 3 files changed +8
-21
lines changed Expand file tree Collapse file tree 3 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 34
34
key : ${{ runner.os }}-shadow-cljs-${{ github.sha }}
35
35
restore-keys : |
36
36
${{ runner.os }}-shadow-cljs-
37
- # The git update-index command is required to ignore changes to package.json as
38
- # 1. package.json must be committed to the repo for npm install --save... to behave correctly, which is used by
39
- # lein-shadow to install dependencies that would cause the build to fail if missing; e.g. karma
40
- # 2. .gitignore does nothing for files that are already committed
41
- # 3. git recognising package.json modifications would cause day8/lein-git-inject to always incorrectly use
42
- # -SNAPSHOT versions.
43
37
- run : |
44
- git update-index --assume-unchanged package.json
45
38
lein karma-once
46
39
- name : Slack notification
47
40
uses : homoluctus/slatify@v2.0.1
69
62
key : ${{ runner.os }}-maven-${{ hashFiles('project.clj') }}
70
63
restore-keys : |
71
64
${{ runner.os }}-maven-
72
- # The git update-index command is required to ignore changes to package.json as
73
- # 1. package.json must be committed to the repo for npm install --save... to behave correctly, which is used by
74
- # lein-shadow to install dependencies that would cause the build to fail if missing; e.g. karma
75
- # 2. .gitignore does nothing for files that are already committed
76
- # 3. git recognising package.json modifications would cause day8/lein-git-inject to always incorrectly use
77
- # -SNAPSHOT versions.
78
65
- name : Run lein release
79
66
run : |
80
- git update-index --assume-unchanged package.json
81
67
CLOJARS_USERNAME=${{ secrets.CLOJARS_USERNAME }} CLOJARS_TOKEN=${{ secrets.CLOJARS_TOKEN }} GITHUB_USERNAME=${{ github.actor }} GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} lein release
82
68
# This creates a 'GitHub Release' from the tag and includes link to the CHANGELOG
83
69
# at that point in the Git history. We do not use draft or prerelease features as
Original file line number Diff line number Diff line change 31
31
key : ${{ runner.os }}-shadow-cljs-${{ github.sha }}
32
32
restore-keys : |
33
33
${{ runner.os }}-shadow-cljs-
34
- # The git update-index command is required to ignore changes to package.json as
35
- # 1. package.json must be committed to the repo for npm install --save... to behave correctly, which is used by
36
- # lein-shadow to install dependencies that would cause the build to fail if missing; e.g. karma
37
- # 2. .gitignore does nothing for files that are already committed
38
- # 3. git recognising package.json modifications would cause day8/lein-git-inject to always incorrectly use
39
- # -SNAPSHOT versions.
40
34
- run : |
41
- git update-index --assume-unchanged package.json
42
35
lein karma-once
43
36
- name : Slack notification
44
37
uses : homoluctus/slatify@v2.0.1
Original file line number Diff line number Diff line change 51
51
:output-to " target/karma-test.js"
52
52
:compiler-options {:pretty-print true }}}}
53
53
54
+ ; ; The git update-index command is required to ignore changes to package.json as
55
+ ; ; 1. package.json must be committed to the repo for npm install --save... to behave correctly, which is used by
56
+ ; ; lein-shadow to install dependencies that would cause the build to fail if missing; e.g. karma
57
+ ; ; 2. .gitignore does nothing for files that are already committed
58
+ ; ; 3. git recognising package.json modifications would cause day8/lein-git-inject to always incorrectly use
59
+ ; ; -SNAPSHOT versions.
54
60
:aliases {" test-auto" [" do"
55
61
[" clean" ]
62
+ [" shell" " git" " update-index" " --assume-unchanged" " package.json" ]
56
63
[" shadow" " watch" " browser-test" ]]
57
64
" karma-once" [" do"
58
65
[" clean" ]
66
+ [" shell" " git" " update-index" " --assume-unchanged" " package.json" ]
59
67
[" shadow" " compile" " karma-test" ]
60
68
[" shell" " karma" " start" " --single-run" " --reporters" " junit,dots" ]]})
You can’t perform that action at this time.
0 commit comments