Skip to content

Commit

Permalink
fix: test before release
Browse files Browse the repository at this point in the history
  • Loading branch information
hhimanshu committed Apr 9, 2021
1 parent 651417c commit c229133
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
branches:
- master
jobs:
setup:
name: Setup Dependencies
release:
name: Release
runs-on: ubuntu-18.04
steps:
- name: Checkout
Expand All @@ -16,18 +16,8 @@ jobs:
node-version: 12
- name: Install dependencies
run: npx yarn install
test:
name: Run Tests
runs-on: ubuntu-18.04
needs: setup
steps:
- name: Test
run: npx yarn test
release:
name: Release
runs-on: ubuntu-18.04
needs: test
steps:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit c229133

Please sign in to comment.