Skip to content

Commit

Permalink
Create github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody Rousseau committed Mar 9, 2024
1 parent 5288578 commit b00612e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/release.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release
on:
push:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -23,6 +23,6 @@ jobs:

- name: Release package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run release
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,7 @@
},
"release": {
"branches": [
{
"name": "master",
"channel": "latest",
"release": true
}
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down

0 comments on commit b00612e

Please sign in to comment.