File tree 3 files changed +40
-3
lines changed
3 files changed +40
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker build
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ docker :
11
+ name : Docker build
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - name : Build with Docker
16
+ run : docker build .
Original file line number Diff line number Diff line change
1
+ name : Lint files
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ lint :
11
+ name : Lint files
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - name : Cache node modules
16
+ uses : actions/cache@v4
17
+ with :
18
+ path : node_modules
19
+ key : ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
20
+ - name : Install dependencies and lint files
21
+ run : |
22
+ npm ci
23
+ npm run lint
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ WORKDIR /app
4
4
5
5
COPY package.json ./
6
6
7
- RUN apk add --no-cache git python3 py3-pip pango gcc musl-dev py3-wheel python3-dev libffi-dev zlib-dev jpeg-dev
8
-
9
- RUN pip install weasyprint
7
+ RUN apk add --no-cache git weasyprint
10
8
11
9
RUN npm install
12
10
You can’t perform that action at this time.
0 commit comments