Skip to content

Commit 8d8e1a4

Browse files
committed
fix(ci): update GitHub actions commands
1 parent 5eb4e12 commit 8d8e1a4

File tree

4 files changed

+51
-26
lines changed

4 files changed

+51
-26
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ on:
44
push:
55
branches: [ main ]
66
paths-ignore:
7-
- 'dev/**'
7+
- '*.md'
8+
- '.husky/**'
89
- 'Dockerfile'
9-
- 'Dockerfile.webui'
1010
- 'Dockerfile.aarch64-unknown-linux-musl'
11+
- 'Dockerfile.dockerignore'
12+
- 'Dockerfile.docs'
13+
- 'Dockerfile.docs.dockerignore'
14+
- 'Dockerfile.webui'
15+
- 'Dockerfile.webui.dockerignore'
1116
- 'LICENSE'
12-
- '*.md'
13-
- '.husky/**'
17+
- 'dev/**'
1418

1519
env:
1620
CARGO_TERM_COLOR: always
@@ -78,10 +82,10 @@ jobs:
7882
cache: 'npm'
7983

8084
- name: Install dependencies
81-
run: npm ci --ws
85+
run: npm --prefix components/secutils-webui ci
8286

8387
- name: Build
84-
run: npm run build -w components/secutils-webui
88+
run: npm --prefix components/secutils-webui run build
8589

8690
ci-docs:
8791
name: Build Docs (Linux)
@@ -95,7 +99,7 @@ jobs:
9599
cache: 'npm'
96100

97101
- name: Install dependencies
98-
run: npm ci --ws
102+
run: npm --prefix components/secutils-docs ci
99103

100104
- name: Build
101-
run: npm run build -w components/secutils-docs
105+
run: npm --prefix components/secutils-docs run build

Dockerfile.dockerignore

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# Paths that should be ignored by all Docker images
22
node_modules
3-
.idea
3+
*.md
44
.DS_Store
5-
dev
6-
.parcel-cache
7-
target
8-
dist
9-
build
105
.env
11-
.nvmrc
126
.github
137
.husky
8+
.idea
9+
.nvmrc
10+
.parcel-cache
1411
Dockerfile
1512
Dockerfile.webui
16-
*.md
1713
LICENSE
18-
secutils.toml
14+
build
15+
dev
16+
dist
1917
rustfmt.toml
18+
secutils.toml
19+
target
2020

2121
# Path that should be ignored by api Docker image
2222
/components/secutils-docs

Dockerfile.docs.dockerignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Paths that should be ignored by all Docker images
2+
*.md
3+
.DS_Store
4+
.env
5+
.github
6+
.husky
7+
.idea
8+
.nvmrc
9+
Dockerfile
10+
LICENSE
11+
dev
12+
dist
13+
node_modules
14+
rustfmt.toml
15+
secutils.toml
16+
target
17+
18+
# Path that should be ignored by WebUI Docker image
19+
/src
20+
/components/secutils-webui
21+
/components/secutils-jwt-tools

Dockerfile.webui.dockerignore

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# Paths that should be ignored by all Docker images
2-
node_modules
3-
.idea
2+
*.md
43
.DS_Store
5-
dev
6-
.parcel-cache
7-
target
8-
dist
94
.env
10-
.nvmrc
115
.github
126
.husky
7+
.idea
8+
.nvmrc
9+
.parcel-cache
1310
Dockerfile
14-
*.md
1511
LICENSE
16-
secutils.toml
12+
dev
13+
dist
14+
node_modules
1715
rustfmt.toml
16+
secutils.toml
17+
target
1818

1919
# Path that should be ignored by WebUI Docker image
2020
/src

0 commit comments

Comments
 (0)