Merge pull request #4 from oblakstudio/renovate/crazy-max-ghaction-im… #4
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: Release | |
on: | |
push: | |
paths-ignore: | |
- "**/renovate.json" | |
- README.md | |
branches: | |
- master | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.OBLAK_BOT_TOKEN }} | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@v6 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
git_config_global: true | |
git_user_signingkey: true | |
git_commit_gpgsign: true | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
- name: Install NPM dependencies | |
run: npm install | |
- name: Release | |
env: | |
GIT_AUTHOR_NAME: "oblakbot" | |
GIT_AUTHOR_EMAIL: "[email protected]" | |
GIT_COMMITTER_NAME: "oblakbot" | |
GIT_COMMITTER_EMAIL: "[email protected]" | |
GITHUB_TOKEN: ${{ secrets.OBLAK_BOT_TOKEN }} | |
run: yarn semantic-release |