Skip to content

Commit 7d47056

Browse files
committed
chore: cleanup dev deps
1 parent dbe765c commit 7d47056

File tree

5 files changed

+7
-150
lines changed

5 files changed

+7
-150
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ jobs:
108108
node-version: lts/*
109109
cache: 'npm'
110110
- run: npm clean-install
111+
- run: npm install --global edge-runtime
112+
- run: npm link edge-runtime
111113
- name: Run Test Suite
112114
run: npm run tap:edge-runtime
113115
- name: Upload server logs
@@ -185,6 +187,7 @@ jobs:
185187
cache: 'npm'
186188
- run: npm clean-install
187189
- run: npm install --global workerd
190+
- run: npm link workerd
188191
- name: Run Test Suite
189192
run: npm run tap:workerd
190193

package-lock.json

Lines changed: 0 additions & 147 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
"archiver": "^7.0.1",
102102
"ava": "^6.2.0",
103103
"chrome-launcher": "^1.1.2",
104-
"edge-runtime": "^4.0.1",
105104
"esbuild": "^0.25.2",
106105
"ky": "^1.8.0",
107106
"oidc-provider": "^8.8.1",

tap/.edge-runtime.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
. ./tap/.server.sh
44

5-
echo "Using edge-runtime $(cat package-lock.json | jq -r '.packages["node_modules/edge-runtime"].version')"
5+
RUNTIME_VERSION=$(npm ls --global --json | jq -r '.dependencies["edge-runtime"].version')
6+
7+
echo "Using edge-runtime $RUNTIME_VERSION"
68

79
./node_modules/.bin/esbuild \
810
--log-level=warning \

tap/.workerd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
. ./tap/.server.sh
44

5-
COMPATIBILITY_DATE=$(NODE_PATH=$(npm root -g) node -p "require('workerd').compatibilityDate")
5+
COMPATIBILITY_DATE=$(node -p "require('workerd').compatibilityDate")
66
WORKERD_VERSION=$(npm ls --global --json | jq -r '.dependencies.workerd.version')
77

88
echo "Using workerd $WORKERD_VERSION, compatibility date $COMPATIBILITY_DATE"

0 commit comments

Comments
 (0)