Skip to content

fix(main): merge conflict #1

fix(main): merge conflict

fix(main): merge conflict #1

name: Semantic Release
on:
push:
branches:
- "main"
permissions:
repository-projects: write
jobs:
semantic-release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm i --non-interactive --pure-lockfile
- name: Release
# TODO: Deliberately commented, as I first want to verify whether we can use the GitHub Actions bot Token for authentication.
# env:
# GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
# GIT_AUTHOR_NAME: ${{secrets.BOT_USERNAME}}
# GIT_COMMITTER_NAME: ${{secrets.BOT_USERNAME}}
# GIT_AUTHOR_EMAIL: ${{secrets.BOT_EMAIL}}
# GIT_COMMITTER_EMAIL: ${{secrets.BOT_EMAIL}}
run: npm run semantic-release -- --repository-url "$(git config --get remote.origin.url)"