Skip to content

Ensure JS dist files are current in CI #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ jobs:
- run: yarn check-lint
- run: yarn check-format

js-dist-current:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: yarn && yarn build
- name: Check if js dist files are current
id: changes
uses: UnicornGlobal/[email protected]

- name: Ensure no changes
if: steps.changes.outputs.changed == 1
run: |
echo "JS dist files need to be rebuilt"
exit 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, that UnicornGlobal/has-changes-action is really handy!


tests-php-low-deps:
runs-on: ubuntu-latest
steps:
Expand Down