Skip to content

Commit

Permalink
feat(CI): install deps
Browse files Browse the repository at this point in the history
  • Loading branch information
leocabeza committed Sep 7, 2021
1 parent a881013 commit d125add
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
- name: Checkout
uses: actions/checkout@v2
- name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v2
with:
always-auth: true
node-version: '12.x'
registry-url: https://registry.npmjs.org
- run: npm build
- run: npx semantic-release@17
- name: Install deps
run: npm ci
- name: Build...
run: npm build
- name: Release
run: npx semantic-release@17
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit d125add

Please sign in to comment.