Skip to content

Switch to an LTS version of Node (15 -> 16) #27

Switch to an LTS version of Node (15 -> 16)

Switch to an LTS version of Node (15 -> 16) #27

Workflow file for this run

name: WPT Lint Test
on:
push:
branches-ignore: [gh-pages]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test-wpt-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- run: npm ci
- run: npm run wpt
- name: copy out-wpt to wpt tree
run: |
git clone --depth 2 https://github.com/web-platform-tests/wpt.git
rsync -av out-wpt/ wpt/webgpu
- name: test wpt lint
run: ./wpt lint
working-directory: ./wpt