-
-
Notifications
You must be signed in to change notification settings - Fork 63
35 lines (35 loc) · 918 Bytes
/
wpt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: web-platform-tests
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
wpt:
name: web-platform-tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: moonrepo/setup-rust@v0
- uses: pnpm/[email protected]
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build runtime
run: pnpm turbo build --filter=@lagon/js-runtime
- name: Run wpt-runner
run: cd crates/wpt-runner && pnpm start
- name: Check if results have changed
run: git diff --exit-code