Skip to content

Commit

Permalink
testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
RA341 committed Sep 30, 2024
1 parent 569e105 commit bbea738
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- release
- ci-test

jobs:
tag-release:
Expand All @@ -23,10 +24,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "lts/*"

- name: Create ci directory
run: mkdir ci

- name: install plugins
working-directory: ./ci
run: npm install @semantic-release/git @semantic-release/changelog -D

- name: Release
working-directory: ./ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
Expand Down
4 changes: 4 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"branches": [
{
"name": "release"
},
{
"name": "ci-test",
"prerelease": true
}
],
"plugins": [
Expand Down

0 comments on commit bbea738

Please sign in to comment.