Merge pull request #308 from hlxsites/feature/coveo-implementation #142
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
# Generate a changelog with semantic-release | |
# Skip if the commit message is "Initial commit" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
semantic-release: | |
if: "!contains(github.event.head_commit.message, 'Initial commit')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: npm run semantic-release | |
- name: Show working copy | |
run: ls -la && git status |