fix(flashlight): export PRESTAFLOW_PS_VERSION for version-aware Page lookup #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm test | |
| - run: npm run build | |
| - name: Check dist is up to date | |
| run: | | |
| if [ -n "$(git status --porcelain dist/)" ]; then | |
| echo "::error::dist/ is out of date. Run 'npm run build' and commit." | |
| git diff dist/ | head -100 | |
| exit 1 | |
| fi |