Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit dc37498

Browse files
authored
chore: run GHA on 0.x branch too (margelo#440)
1 parent 4dc122a commit dc37498

File tree

6 files changed

+12
-1
lines changed

6 files changed

+12
-1
lines changed

.github/workflows/build-android.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- 0.x
78
paths:
89
- '.github/workflows/build-android.yml'
910
- 'android/**'

.github/workflows/build-ios.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- 0.x
78
paths:
89
- '.github/workflows/build-ios.yml'
910
- 'ios/**'

.github/workflows/validate-android.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- 0.x
78
paths:
89
- '.github/workflows/validate-android.yml'
910
- 'android/**'

.github/workflows/validate-cpp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- 0.x
78
paths:
89
- '.github/workflows/validate-cpp.yml'
910
- 'cpp/**'

.github/workflows/validate-js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- 0.x
78
paths:
89
- '.github/workflows/validate-js.yml'
910
- 'src/**'

src/Utils.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ import type {
1515
import { type CipherKey } from 'crypto'; // @types/node
1616

1717
export type BufferLike = ArrayBuffer | Buffer | SBuffer | ArrayBufferView;
18-
export type BinaryLike = string | ArrayBuffer | Buffer | SBuffer | TypedArray | DataView;
18+
export type BinaryLike =
19+
| string
20+
| ArrayBuffer
21+
| Buffer
22+
| SBuffer
23+
| TypedArray
24+
| DataView;
1925
export type BinaryLikeNode = CipherKey | BinaryLike;
2026

2127
export type BinaryToTextEncoding = 'base64' | 'base64url' | 'hex' | 'binary';

0 commit comments

Comments
 (0)