-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 908 Bytes
/
ci-workflow.yaml
File metadata and controls
29 lines (29 loc) · 908 Bytes
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
---
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
max-parallel: 1
matrix:
# Available node versions: https://raw.githubusercontent.com/actions/node-versions/main/versions-manifest.json
node: [ '20', '22', '24' ]
name: node ${{ matrix.node }}
steps:
- uses: actions/checkout@v5
with:
set-safe-directory: ${{ github.workspace }}
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
- run: npm install -g bob@4
- run: bob build
- uses: coverallsapp/github-action@v2.3.6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: .bob/coverage/c8/lcov.info
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
publish_dir: .bob