Skip to content

Commit eaca529

Browse files
committed
add gh action to ensure js dist files are current
1 parent 9f9cabc commit eaca529

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ jobs:
2222
- run: yarn check-lint
2323
- run: yarn check-format
2424

25+
js-dist-current:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@master
29+
- run: yarn && yarn build
30+
- name: Check if js dist files are current
31+
id: changes
32+
uses: UnicornGlobal/[email protected]
33+
34+
- name: Ensure no changes
35+
if: steps.changes.outputs.changed == 1
36+
run: echo "JS dist files need to be rebuilt"
37+
2538
tests-php-low-deps:
2639
runs-on: ubuntu-latest
2740
steps:

0 commit comments

Comments
 (0)