-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (40 loc) · 1.05 KB
/
ci.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
34
35
36
37
38
39
40
41
42
name: ci
on:
push:
paths-ignore:
- "**.md"
- "LICENSE"
- "NOTICE"
# branches-ignore:
# - "feature/pnpm"
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18", "20", "22"]
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
- run: zig version
- run: rustup update stable && rustup target add wasm32-unknown-unknown
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v4
- run: pnpm --version
- run: pnpm install
- run: pnpm run build
- run: pnpm run lint
- run: pnpm run doc
- run: cd packages/light-adjustment/zig/ && zig build test
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: media-processors
SLACK_COLOR: danger
SLACK_TITLE: Failure test
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}