Skip to content

Commit

Permalink
Remove preview workflow, do WPT lint in PR workflow (#3131)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Nov 2, 2023
1 parent d13a52a commit a644dd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 118 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,18 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v3
with:
persist-credentials: false
- run: |
git fetch origin ${{ github.event.pull_request.head.sha }}
git checkout ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- run: npm ci
- run: npm test
- run: |
mkdir deploy-build/
cp -r README.md src standalone out docs deploy-build/
- uses: actions/upload-artifact@v2
with:
name: pr-artifact
path: deploy-build/
- 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
80 changes: 0 additions & 80 deletions .github/workflows/workflow.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/wpt.yml

This file was deleted.

0 comments on commit a644dd0

Please sign in to comment.