Skip to content

Merge branch 'main' of https://github.com/adobe/franklin-sidekick-lib… #34

Merge branch 'main' of https://github.com/adobe/franklin-sidekick-lib…

Merge branch 'main' of https://github.com/adobe/franklin-sidekick-lib… #34

name: Semantic Release
on:
push:
branches:
- 'main'
jobs:
release:
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
packages: write
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
- run: npm run build
- run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
DISCORD_WEBHOOK: ${{ secrets.HELIX_RELEASE_DISCORD_WEBHOOK }}