Skip to content

Commit

Permalink
chore: combine release job with testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 26, 2022
1 parent 7669ca2 commit 63e11d6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 28 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,23 @@ jobs:
run: yarn test --coverage
env:
CI: true
release:
needs:
- test-node
- test-os
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: yarn
- name: install
run: yarn
- name: run build
run: yarn build
- run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
28 changes: 0 additions & 28 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit 63e11d6

Please sign in to comment.