File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Deploy Compat to GitHub Pages
2+
3+ on : [push, pull_request]
4+
5+ permissions :
6+ contents : read
7+ pages : write
8+ id-token : write
9+
10+ jobs :
11+ build-and-deploy :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : 23
18+ cache : npm
19+ - run : npm ci
20+ - run : npm run build-compat
21+ - name : Prepare GitHub Pages content
22+ run : cp tests/compat/index.html tests/compat/compat-data.js tests/compat/tests.js tests/compat/browsers-runner.js gh-pages/
23+ - name : Upload GitHub Pages artifact
24+ uses : actions/upload-pages-artifact@v2
25+ with :
26+ path : gh-pages
27+ - name : Deploy to GitHub Pages
28+ uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments