File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 14
14
steps :
15
15
- uses : actions/checkout@v3
16
16
17
- - uses : actions/setup-node@v3
17
+ - uses : actions/setup-node@v4
18
18
with :
19
19
node-version-file : " .node-version"
20
+ cache : " npm"
20
21
21
22
- name : Set up dependencies
22
23
run : sudo ./scripts/setup.sh
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ WORKDIR /usr/src/app
5
5
6
6
COPY package*.json ./
7
7
COPY tsconfig.json ./
8
+ COPY script/setup.sh ./script/
9
+
10
+ RUN chmod +x ./script/setup.sh
11
+ RUN ./script/setup.sh
8
12
9
13
RUN npm ci
10
14
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ if [ -f /etc/os-release ]; then
7
7
8
8
apt update
9
9
apt install -y python3 pkg-config build-essential libcairo2-dev libpango1.0-dev
10
- npm ci
11
10
12
11
echo " Script execution completed successfully."
13
12
else
You can’t perform that action at this time.
0 commit comments