Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maapteh authored Nov 23, 2019
1 parent 2771d4e commit 9d5db89
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn
- run: yarn test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -27,6 +17,7 @@ jobs:
scope: '@mpth'
- run: yarn
- run: |
yarn test
npm version ${{ github.ref }}
npm publish
env:
Expand Down

0 comments on commit 9d5db89

Please sign in to comment.