Skip to content

Commit

Permalink
fix: configure legacy release action
Browse files Browse the repository at this point in the history
(only use "fix" prefix to trigger a dummy release)
  • Loading branch information
gruhn committed Jan 9, 2024
1 parent b057338 commit 315fa89
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/legacy-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Legacy Release
on:
push:
branches:
- 3.x
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install & Build
run: |
npm ci
npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
branches:
- name: master
- name: 3.x
- name: beta
prerelease: true

0 comments on commit 315fa89

Please sign in to comment.