-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
24 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 |
---|---|---|
|
@@ -17,20 +17,11 @@ jobs: | |
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
- run: npm ci | ||
- run: npm run test:json | ||
- run: npm run docs | ||
# Install dependencies | ||
- run: npm ci --verbose | ||
|
||
- uses: cpina/[email protected] | ||
env: | ||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | ||
with: | ||
destination-github-username: Mafalda-SFU | ||
destination-repository-name: Mafalda-SFU.github.io | ||
source-directory: docs | ||
target-directory: docs/${{ github.event.repository.name }} | ||
user-email: [email protected] | ||
user-name: Mafalda bot | ||
# Run tests and publish code coverage badge | ||
- run: npm run test:json | ||
|
||
- name: "Combine" | ||
run: | | ||
|
@@ -49,3 +40,20 @@ jobs: | |
maxColorRange: 90 | ||
namedLogo: Jest | ||
valColorRange: ${{ env.total }} | ||
|
||
# Publish docs | ||
- run: npm run docs | ||
|
||
- uses: cpina/[email protected] | ||
env: | ||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | ||
with: | ||
destination-github-username: Mafalda-SFU | ||
destination-repository-name: Mafalda-SFU.github.io | ||
source-directory: docs | ||
target-directory: docs/${{ github.event.repository.name }} | ||
user-email: [email protected] | ||
user-name: Mafalda bot | ||
|
||
# TODO: add steps to update the version using semantic-release, and | ||
# publish to Github Packages and NPM |
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