Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Add workflow for merging release/minor branch to #1

Add workflow for merging release/minor branch to

Add workflow for merging release/minor branch to #1

Workflow file for this run

on:
push:
branches:
- release/minor
jobs:
merge:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "monstajoe2002"
- name: Merge to master
run: |
git checkout master
git merge --no-ff release/minor
git push origin master
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'