Skip to content

Commit c61d0fa

Browse files
Jake ChampionJakeChampion
authored andcommitted
do not build the runtime on npm i
1 parent 9727bdf commit c61d0fa

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
path: "/home/runner/.cargo/bin/viceroy"
139139
key: crate-cache-viceroy-${{ env.viceroy_version }}
140140

141-
- run: SKIP_BUILD=1 npm ci
141+
- run: npm ci
142142

143143
- name: Build WPT runtime
144144
run: |
@@ -228,7 +228,7 @@ jobs:
228228
with:
229229
name: engine-${{ matrix.profile }}
230230

231-
- run: SKIP_BUILD=1 npm ci
231+
- run: npm ci
232232

233233
- name: js-compute Integration Tests Job
234234
timeout-minutes: 20
@@ -280,7 +280,7 @@ jobs:
280280
runs-on: ubuntu-latest
281281
steps:
282282
- uses: actions/checkout@v2
283-
- run: SKIP_BUILD=1 npm ci
283+
- run: npm ci
284284
shell: bash
285285
- run: npm run test:types
286286

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
"docs": "npm run docs:clean && npm run docs:typedoc",
3232
"docs:clean": "rm -rf reference-docs",
3333
"docs:typedoc": "typedoc --theme ./node_modules/typedoc-loopingz-theme/bin/default --disableSources --includeVersion --out reference-docs --tsconfig tsconfig.json --readme none --exclude index.test-d.ts index.d.ts",
34-
"build": "make -C ./c-dependencies/js-compute-runtime && cp ./c-dependencies/js-compute-runtime/js-compute-runtime.wasm .",
35-
"prepare": "[[ -z \"${SKIP_BUILD}\" ]] && npm run build"
34+
"build": "make -C ./c-dependencies/js-compute-runtime && cp ./c-dependencies/js-compute-runtime/js-compute-runtime.wasm ."
3635
},
3736
"devDependencies": {
3837
"eslint": "^8.27.0",

0 commit comments

Comments
 (0)