This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(housekeeping): Proper node setup for gh actions
- Loading branch information
Showing
1 changed file
with
5 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |