Skip to content

Commit 86fdf50

Browse files
committed
chore(security): Stop auto upgrade of libs.
1 parent 27ed5c8 commit 86fdf50

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
3333
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
3434
sudo apt-get update && sudo apt-get install google-cloud-cli
35-
35+
3636
# Create a directory to cache the SDK installation
3737
mkdir -p ~/.google-cloud-sdk
3838
cp -r /usr/lib/google-cloud-sdk/* ~/.google-cloud-sdk/
@@ -99,7 +99,7 @@ jobs:
9999
- name: Set up Node.js
100100
uses: actions/setup-node@v2
101101
with:
102-
node-version: '20'
102+
node-version: "20"
103103

104104
- name: Restore Database SDK from Cache
105105
uses: actions/cache@v3
@@ -134,7 +134,6 @@ jobs:
134134
- name: Install Dependencies
135135
run: |
136136
pnpm install
137-
pnpm update @steambrew/ttc --latest
138137
env:
139138
NODE_ENV: production
140139

@@ -147,7 +146,6 @@ jobs:
147146
- name: Prepare Distribution Files
148147
id: prepare-distribution
149148
run: bash ./scripts/build/prepare-dist.sh --silent
150-
151149

152150
- name: Upload to database
153151
run: bash ./scripts/build/upload-dist.sh ${{ env.PLUGIN_NAME }}

.github/workflows/pr.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Test Build
22

33
on:
44
pull_request:
5-
types:
5+
types:
66
- opened
77
- synchronize
88
- reopened
9-
9+
1010
workflow_dispatch:
1111

1212
jobs:
@@ -84,15 +84,14 @@ jobs:
8484
- name: Set up Node.js
8585
uses: actions/setup-node@v2
8686
with:
87-
node-version: '20'
87+
node-version: "20"
8888

8989
- name: Install pnpm
9090
run: npm install -g pnpm
9191

9292
- name: Install Dependencies
9393
run: |
9494
pnpm install
95-
pnpm update @steambrew/ttc --latest
9695
env:
9796
NODE_ENV: production
9897

0 commit comments

Comments
 (0)