Skip to content

Commit

Permalink
chore: run GHA on 0.x branch too (margelo#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad authored Sep 6, 2024
1 parent 4dc122a commit dc37498
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- 0.x
paths:
- '.github/workflows/build-android.yml'
- 'android/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- 0.x
paths:
- '.github/workflows/build-ios.yml'
- 'ios/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- 0.x
paths:
- '.github/workflows/validate-android.yml'
- 'android/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- 0.x
paths:
- '.github/workflows/validate-cpp.yml'
- 'cpp/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- 0.x
paths:
- '.github/workflows/validate-js.yml'
- 'src/**'
Expand Down
8 changes: 7 additions & 1 deletion src/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ import type {
import { type CipherKey } from 'crypto'; // @types/node

export type BufferLike = ArrayBuffer | Buffer | SBuffer | ArrayBufferView;
export type BinaryLike = string | ArrayBuffer | Buffer | SBuffer | TypedArray | DataView;
export type BinaryLike =
| string
| ArrayBuffer
| Buffer
| SBuffer
| TypedArray
| DataView;
export type BinaryLikeNode = CipherKey | BinaryLike;

export type BinaryToTextEncoding = 'base64' | 'base64url' | 'hex' | 'binary';
Expand Down

0 comments on commit dc37498

Please sign in to comment.