Big thank-you to xt0rted for the Github Actions Problem Matcher Template: well documented, excellent test coverage and commenting.
The pattern match regex used here comes from vs-code, and was motivated by gcc-problem-matcher by Ammar Askar.
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: electronjoe/gcc-problem-matcher@v1
- run: echo "Run some tests that will be picked up"
- uses: electrojoe/gcc-problem-matcher@v2
with:
action: remove
- run: echo "Run some more tests that shouldn't be picked up"
Name | Allowed values | Description |
---|---|---|
action |
add (default), remove |
If the problem matcher should be registered or removed |
The scripts and documentation in this project are released under the MIT License
From a clean checkout:
git checkout releases/v1 && git merge main
purge dist && purge lib && purge node_modules
npm ci
npm run lint --if-present && npm test
npm run build && npm run release
git commit -m "Release v1.1.0" # creates the release commit
git tag -fa v1 -m "Update v1 tag" # updates the v1 tag to point to the latest release
git push origin && git push origin v1 --force