A Simple GitHub Action that runs svelte-check
on the given directory.
- name: Run Svelte Check
uses: ofkm/gha-svelte-check@v1
with:
working-directory: './src'
Input | Description | Required | Default |
---|---|---|---|
working-directory |
Working directory to run svelte-check in | No | . |
fail-on-warnings |
Fail the action if warnings are found | No | false |
fail-on-hints |
Fail the action if hints are found | No | false |
tsconfig |
Path to tsconfig file | No | `` |
Output | Description |
---|---|
errors |
Number of errors found |
warnings |
Number of warnings found |
hints |
Number of hints found |
- Ensure
main
is clean and up to date. - Run
npm run release
. The script will:- determine the next version from conventional commits,
- run tests and rebuild
dist/
, - update
CHANGELOG.md
via git-cliff, - tag and push the release,
- create the corresponding GitHub release and update the major tag.
- Monitor the
Release
workflow to confirm the tag builds cleanly.