Skip to content

Commit

Permalink
chore: 🤖 fix release action
Browse files Browse the repository at this point in the history
Don't try to push to NPM since we aren't a javascript project
  • Loading branch information
lyonsden committed Mar 14, 2024
1 parent 099ea02 commit d522ff1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Release
name: Release

on:
push:
Expand All @@ -14,15 +14,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20

# Semantic Tag
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn add @semantic-release/github --dev
npx semantic-release
- run: npx semantic-release
11 changes: 11 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
branches:
- master
- name: alpha
prerelease: true
debug: true
ci: true
dryRun: false
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/github"

0 comments on commit d522ff1

Please sign in to comment.