Skip to content

Commit d003e49

Browse files
committed
Merge branch 'js_tsc_build_pipeline' of https://github.com/stream-labs/obs-studio-node into js_tsc_build_pipeline
2 parents 703d976 + f9e69d0 commit d003e49

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/check-js-generated.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths-ignore: ['**.md']
99
branches-ignore: [staging]
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
check-js-generated:
1316
runs-on: ubuntu-22.04

ci/check-js-generated.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22
# Verify that the committed tsc outputs under js/ match what regenerating
33
# from js/module.ts would produce. CI runs `yarn build:javascript` first,
4-
# so any modified file at this point is a stale generated file.
5-
dirty=$(git ls-files --modified js/)
4+
# so any change under js/ at this point is a stale generated file.
5+
dirty=$(git status --porcelain -- js/)
66

77
set +x
88
if [[ $dirty ]]; then

0 commit comments

Comments
 (0)