Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
fix(housekeeping): Proper node setup for gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeesha committed May 23, 2020
1 parent caaf83d commit 08d6c71
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,16 @@ jobs:
with:
node-version: "12"
- name: Install dependencies
uses: borales/[email protected]
with:
cmd: install
run: yarn install
- name: Build typescript
uses: borales/[email protected]
with:
cmd: build
run: yarn build
- name: Unit tests
uses: borales/[email protected]
with:
cmd: test
run: yarn test
- name: Integration tests
uses: borales/[email protected]
with:
cmd: test:integration
run: yarn test:integration
- name: Publish to NPM
if: github.ref == 'refs/heads/master'
uses: borales/[email protected]
with:
cmd: semantic-release
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit 08d6c71

Please sign in to comment.