Skip to content

Commit

Permalink
feat(GH-8): Update the Verify changed files step
Browse files Browse the repository at this point in the history
  • Loading branch information
gavanlamb committed Jun 15, 2024
1 parent ed8224f commit 1aaedab
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,24 @@ jobs:
files: |
./test-results/junit.xml
- name: Qodana Scan
uses: JetBrains/qodana-action@v2024.1
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

- name: Package
run: npm run package

- name: Verify Changed files
- name: Verify changed files
uses: tj-actions/verify-changed-files@v20
id: verify-changed-files
with:
fail-if-changed: true
fail-message: Files in dist are not up-to-date. Please run 'npm run package' locally and commit the changes.
fail-message: Files in the dist folder are not up-to-date. Please run 'npm run package' locally and commit the changes.
files: |
dist
- name: Qodana Scan
uses: JetBrains/qodana-action@v2024.1
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
use-annotations: true

release:
name: Release
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1aaedab

Please sign in to comment.