Skip to content

Merge pull request #54 from VampireChicken12/dev #102

Merge pull request #54 from VampireChicken12/dev

Merge pull request #54 from VampireChicken12/dev #102

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
build-and-release:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run Semantic Release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Merge changes from main into dev
run: |
# Switch to the dev branch
git checkout dev
# Merge changes from the main branch into dev
git merge main
# Push changes to the dev branch
git push origin dev