Skip to content

Commit

Permalink
fix(release): try again to fix the release from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Pegase745 committed Jun 30, 2020
1 parent 51c9f2c commit 1951d3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,15 @@ jobs:

Release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs: Test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm ci
- run: npm run build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'master',
'next',
'next-major',
{
name: 'beta',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
]
extra_plugins: |
'@semantic-release/changelog'
'@semantic-release/git'
- run: npm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"assets": [
"package.json",
"yarn.lock",
"package-lock.json",
"CHANGELOG.md"
],
"message": "chore(release): version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
Expand Down

0 comments on commit 1951d3d

Please sign in to comment.