summaryrefslogtreecommitdiff
path: root/.github/workflows/wpt_epoch.yml
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-04-13 18:51:16 +0200
committerGitHub <noreply@github.com>2022-04-13 18:51:16 +0200
commitf7e7f548499eff8d2df0872d1340ddcdfa028c45 (patch)
tree0f50b66364aed8550009b1f5c8fcd4034ca4c4f5 /.github/workflows/wpt_epoch.yml
parentd52613ebabe830bd0dd2376198986cb91f7470cd (diff)
chore: use lock file for tooling scripts (#14253)
This commit adds lock file for maintenance scripts in "tools/" directory. The lock file is stored in "tools/deno.lock.json".
Diffstat (limited to '.github/workflows/wpt_epoch.yml')
-rw-r--r--.github/workflows/wpt_epoch.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/wpt_epoch.yml b/.github/workflows/wpt_epoch.yml
index a4b3f0712..24d573f73 100644
--- a/.github/workflows/wpt_epoch.yml
+++ b/.github/workflows/wpt_epoch.yml
@@ -67,12 +67,17 @@ jobs:
- name: Run web platform tests
shell: bash
run: |
- deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run ./tools/wpt.ts setup
- deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run ./tools/wpt.ts run --binary=$(which deno) --quiet --release --json=wpt.json --wptreport=wptreport.json || true
+ deno run --unstable --allow-write --allow-read --allow-net \
+ --allow-env --allow-run --lock=tools/deno.lock.json \
+ ./tools/wpt.ts setup
+ deno run --unstable --allow-write --allow-read --allow-net \
+ --allow-env --allow-run --lock=tools/deno.lock.json \
+ ./tools/wpt.ts run \
+ --binary=$(which deno) --quiet --release --json=wpt.json --wptreport=wptreport.json || true
- name: Upload wpt results to wpt.fyi
env:
WPT_FYI_USER: deno
WPT_FYI_PW: ${{ secrets.WPT_FYI_PW }}
run: |
- deno run -A ./tools/upload_wptfyi.js wptreport.json --from-raw-file
+ deno run -A --lock=tools/deno.lock.json ./tools/upload_wptfyi.js wptreport.json --from-raw-file