Skip to content

Commit

Permalink
chore: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ritesh404 committed Dec 2, 2020
1 parent 110794f commit 933ed1c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
container: 'node:12-alpine'
steps:
- uses: actions/checkout@master
- run: apk update && apk upgrade && apk add --no-cache bash git openssh
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run semantic-release
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 933ed1c

Please sign in to comment.