Skip to content

chore(release-pr): switch to main and back #36

chore(release-pr): switch to main and back

chore(release-pr): switch to main and back #36

Workflow file for this run

name: Release PR
on:
push:
branches:
- main
- release-workflow
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
jobs:
create-pr:
name: Create release PR
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org/"
cache: npm
- name: "Setup git"
run: |
git remote set-url origin https://mdn-bot:[email protected]/${{ github.repository }}.git
git config user.email [email protected]
git config user.name mdn-bot
git switch main
git switch -
- name: Install
run: npm ci
- name: Release
run: npm run release