Skip to content

Commit

Permalink
chore(main): add registry-url to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Albaladejo committed Oct 19, 2021
1 parent df9c36c commit 868155d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
if: ${{ github.ref != 'refs/heads/main' }}
strategy:
matrix:
node-version: [10.17.0]
steps:
- uses: actions/checkout@v2
# setup node env
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 10.17.0
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: 10.17.0
registry-url: 'https://registry.npmjs.org'
# install node_modules
- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 868155d

Please sign in to comment.