This is an automated email from the ASF dual-hosted git repository. erisu pushed a commit to branch chore/improve-ci-test-build in repository https://gitbox.apache.org/repos/asf/cordova-node-xcode.git
commit 2bd63e14b12e2db2895cb91998aa9cc0e9fcc7b9 Author: Erisu <[email protected]> AuthorDate: Fri Jun 12 16:23:09 2026 +0900 chore(workflow): check for uncommited changes --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82b88fe..76ad629 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,8 +87,29 @@ jobs: node --version npm --version - - name: npm install and test - run: npm cit + - name: npm install + run: npm ci + env: + CI: true + NODE_OPTIONS: ${{ matrix.node.options }} + + - name: Build parser + run: npm run build + env: + CI: true + NODE_OPTIONS: ${{ matrix.node.options }} + + - name: Check for uncommitted changes + run: | + if ! git diff --exit-code; then + echo "" + echo "::error::Detected changes that appear to not be committed." + echo "::error::Please run 'npm run build' and commit the built parser." + exit 1 + fi + + - name: npm test + run: npm t env: CI: true NODE_OPTIONS: ${{ matrix.node.options }} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
