Skip to content

Commit

Permalink
Fix semVer action (#57)
Browse files Browse the repository at this point in the history
* chore: setup semantic version actions

* chore: update secret

* fix: update semantic release action
  • Loading branch information
tristenwallace committed Jul 15, 2024
1 parent 34617ec commit cece972
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,16 @@ on:
- main

jobs:
release:
name: Release
main:
runs-on: ubuntu-latest

environment:
name: Semver
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
- name: Checkout
uses: actions/checkout@v4
with:
node-version: '20.12'

- name: Install dependencies
run: npm install

- name: Run semantic-release
persist-credentials: false
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
run: npx semantic-release
GH_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}

0 comments on commit cece972

Please sign in to comment.