Skip to content

Commit

Permalink
Update nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed Aug 29, 2019
1 parent 4ff2ffc commit 988b2d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -79,16 +79,19 @@ jobs:
runs-on: ubuntu-latest

steps:
if: github.ref == 'refs/heads/master'
- uses: actions/checkout@v1
if: github.ref == 'refs/heads/master'
- uses: actions/setup-node@v1
if: github.ref == 'refs/heads/master'
with:
node-version: 10.x
- name: Project setup `npm install && npm run build`
if: github.ref == 'refs/heads/master'
run: |
npm install
npm run build --if-present
env:
CI: true
- name: Run `publish`
if: github.ref == 'refs/heads/master'
run: npm run publish --if-present

0 comments on commit 988b2d9

Please sign in to comment.