Add missing service overrides #119
Workflow file for this run
This file contains 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: Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint-commits: | |
name: Lint commits | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# we actually need "github.event.pull_request.commits + 1" commit | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
- run: npm ci | |
- run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
check: | |
name: Check build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.10.0 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Generate release notes preview | |
id: build-release-notes | |
uses: guilhermetod/[email protected] | |
- name: Comment release notes preview | |
if: steps.build-release-notes.outputs.releaseNotes | |
uses: peter-evans/create-or-update-comment@v1 | |
with: | |
issue-number: ${{ github.event.number }} | |
body: | | |
## 👋 Hey there! | |
Thank you for you contribution. Below is a preview of the release notes if your PR gets merged. | |
Please, make sure it includes all your significant changes with descriptive messages. | |
Keep in mind that release notes are automatically generated from the commit messages according to [conventional commits](https://www.conventionalcommits.org/). | |
--- | |
${{ steps.build-release-notes.outputs.releaseNotes }} |