From 76f2a89dcb582e77c749afe18cd63181f429af2e Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 14 Mar 2024 13:28:30 -0400 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20fix=20release=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't try to push to NPM since we aren't a javascript project --- .github/workflows/release.yml | 10 ++++------ .releaserc | 11 +++++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 .releaserc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d163035..9863170 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Build and Release +name: Release on: push: @@ -14,8 +14,8 @@ 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 @@ -23,6 +23,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - yarn add @semantic-release/github --dev - npx semantic-release + - run: npx semantic-release diff --git a/.releaserc b/.releaserc new file mode 100644 index 0000000..b7e154b --- /dev/null +++ b/.releaserc @@ -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"