Skip to content

Commit 71b754d

Browse files
committed
chore(Build): ignore scripts
1 parent c8f0d53 commit 71b754d

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/sharevb-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
cache: 'pnpm'
2525

2626
- name: Install dependencies
27-
run: pnpm i
27+
run: pnpm i --ignore-scripts
2828

2929
- name: Run linters
3030
run: pnpm lint

.github/workflows/sharevb-docker-nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
cache: 'pnpm'
4545

4646
- name: Install dependencies
47-
run: pnpm i
47+
run: pnpm i --ignore-scripts
4848

4949
- name: Run linters
5050
run: pnpm lint

.github/workflows/sharevb-docker-realease-baseurl-it-tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
cache: 'pnpm'
2727

2828
- name: Install dependencies
29-
run: pnpm i
29+
run: pnpm i --ignore-scripts
3030

3131
- name: Run linters
3232
run: pnpm lint

.github/workflows/sharevb-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
cache: 'pnpm'
9393

9494
- name: Install dependencies
95-
run: pnpm i
95+
run: pnpm i --ignore-scripts
9696

9797
- name: Build the app
9898
run: pnpm build

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk add --update python3 make g++\
99

1010
WORKDIR /app
1111
COPY package.json pnpm-lock.yaml ./
12-
RUN npm install -g pnpm && pnpm i --frozen-lockfile
12+
RUN npm install -g pnpm && pnpm i --ignore-scripts --frozen-lockfile
1313
COPY . .
1414
ARG BASE_URL
1515
ENV BASE_URL=${BASE_URL}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has a
223223
### Project Setup
224224

225225
```sh
226-
pnpm install
226+
pnpm install --ignore-scripts
227227
```
228228

229229
### Compile and Hot-Reload for Development
@@ -266,7 +266,7 @@ Local installation required installing first: `python3 make g++`
266266

267267
| Docker Image | Local Installation |
268268
|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
269-
| GitHub Container Registry: <span title="triple click me!">`ghcr.io/sharevb/it-tools:latest`</span><br/>Docker Hub: <span title="triple click me!">`sharevb/it-tools:latest`</span> | <span title="triple click me!">`sudo apt-get install python3 make g++ && git clone -b chore/all-my-stuffs https://github.com/sharevb/it-tools.git && cd it-tools/ && pnpm i && pnpm dev`</span> |
269+
| GitHub Container Registry: <span title="triple click me!">`ghcr.io/sharevb/it-tools:latest`</span><br/>Docker Hub: <span title="triple click me!">`sharevb/it-tools:latest`</span> | <span title="triple click me!">`sudo apt-get install python3 make g++ && git clone -b chore/all-my-stuffs https://github.com/sharevb/it-tools.git && cd it-tools/ && pnpm i --ignore-scripts && pnpm dev`</span> |
270270
| replace your current image with this image | copy & paste oneliner (from github repo) |
271271
| You may need to clear cache and hard reload to get new features loading | Installing packages for the first time may take some time; please wait until it finishes |
272272

0 commit comments

Comments
 (0)