Skip to content

Commit

Permalink
Fixed github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
juanhapes committed Dec 3, 2020
1 parent afb0a60 commit 33f4e15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-status.yml
Expand Up @@ -19,5 +19,5 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm i
- run: npm test
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
@@ -1,8 +1,8 @@
name: NPM Publish

on:
release:
types: [created]
push:
tags: [ '*' ]

jobs:
build:
Expand All @@ -12,7 +12,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm i
- run: npm test

publish-npm:
Expand All @@ -24,7 +24,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm i
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 33f4e15

Please sign in to comment.