Skip to content

build: update workflows to account for upcoming 2.x maintance branch #45

build: update workflows to account for upcoming 2.x maintance branch

build: update workflows to account for upcoming 2.x maintance branch #45

Workflow file for this run

# Push a release to NPM and Github packages from master, beta and maintenance branches
name: Release
on:
push:
branches:
- master
- beta
- 2.x
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install
run: npm ci
- name: Test
run: npm test
- name: Build
run: npm run build:plugin
- name: Publish
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}