-
Notifications
You must be signed in to change notification settings - Fork 282
40 lines (32 loc) 路 978 Bytes
/
Copy pathlint.yml
File metadata and controls
40 lines (32 loc) 路 978 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
30
31
32
33
34
35
36
37
38
39
40
name: lint
on:
pull_request:
branches:
- master
push:
branches:
- master
# Cancel a currently running workflow from the same PR/branch/tag
# when a new workflow is triggered
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.0
- name: Install Dependency
run: bun install --frozen-lockfile
- name: Run lint
run: bun lint
- name: Verify publish file list
run: node scripts/check-packlist.js
# Every src/NativePushy.ts method must be exported by all four native
# bindings, with the right sync/async kind on Harmony.
- name: Verify JS <-> native method parity
run: node scripts/check-native-spec-parity.js