-
Notifications
You must be signed in to change notification settings - Fork 29
34 lines (33 loc) · 932 Bytes
/
main.yaml
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
name: build
on:
push:
branches: [ '*' ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
name: Lint tests
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
- run: cd tests && npm ci
- run: cd tests && npm run build
- run: cd test_report && npm install && npm run prepare && npm run build
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: cd tests && bun build reference-implementation/processor.js > ../test_report/public/processor.js
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'test_report/public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2