File tree 3 files changed +18
-9
lines changed
3 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 24
24
uses : actions/setup-node@v1
25
25
with :
26
26
node-version : ${{ matrix.node-version }}
27
- - run : npm ci
27
+ - name : Cache dependencies
28
+ uses : actions/cache@v2
29
+ with :
30
+ path : ~/.npm
31
+ key : npm-${{ hashFiles('package-lock.json') }}
32
+ restore-keys : npm-
33
+ # fix git protocol https://github.com/orgs/community/discussions/26648#discussioncomment-3252721
34
+ -
run :
git config --global url."[email protected] :".insteadOf git://github.com/
35
+ - name : Install dependencies
36
+ run : npm ci --ignore-scripts
28
37
- run : npm run build
29
38
- name : Get compiled imagej.js
30
39
run : bash get-imagej.sh
Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
REM The compiled files will be saved in ./dist
3
3
4
- REM download imagej 1.53j to make the transition smoother
5
- curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53j/imagej-js-dist.tgz
6
- tar -xvzf imagej-js-dist.tgz
7
-
8
4
REM download imagej 1.53m to make the transition smoother
9
5
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m/imagej-js-dist.tgz
10
6
tar -xvzf imagej-js-dist.tgz
11
7
8
+ REM download imagej 1.53m3 to make the transition smoother
9
+ curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m3/imagej-js-dist.tgz
10
+ tar -xvzf imagej-js-dist.tgz
11
+
12
12
del imagej-js-dist.tgz
13
13
14
14
if not exist dist mkdir dist
Original file line number Diff line number Diff line change 2
2
set -e
3
3
4
4
5
- # download imagej 1.53j to make the transition smoother
6
- curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53j/imagej-js-dist.tgz
7
- tar -xvzf imagej-js-dist.tgz
8
-
9
5
# download imagej 1.53m to make the transition smoother
10
6
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m/imagej-js-dist.tgz
11
7
tar -xvzf imagej-js-dist.tgz
12
8
9
+ # download imagej 1.53m3 to make the transition smoother
10
+ curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m3/imagej-js-dist.tgz
11
+ tar -xvzf imagej-js-dist.tgz
12
+
13
13
rm imagej-js-dist.tgz
14
14
15
15
mkdir -p dist
You can’t perform that action at this time.
0 commit comments