Skip to content

Commit

Permalink
setup node before checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
nklhtv committed Jun 2, 2020
1 parent cfa18ab commit 278aafd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install NPM Dependencies
run: npm install
- name: Setup NodeJS
uses: actions/setup-node@v1
with:
node-version: 10
registry-url: https://registry.npmjs.org/
- name: Checkout
uses: actions/checkout@v2
- name: Install NPM Dependencies
run: npm install
- name: Publish to NPM
run: npm publish --access public
env:
Expand Down

0 comments on commit 278aafd

Please sign in to comment.