-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fixes broken file-coverage links (#230)
- Loading branch information
1 parent
148463f
commit 25ca77f
Showing
3 changed files
with
94 additions
and
38 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 |
---|---|---|
@@ -1,33 +1,34 @@ | ||
name: 'Build and Test' | ||
on: | ||
name: "Build and Test" | ||
on: | ||
pull_request: | ||
|
||
|
||
jobs: | ||
build-and-test: | ||
permissions: | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: 'Install Node' | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.x' | ||
- name: 'Install Deps' | ||
run: npm install | ||
- name: 'Build' | ||
run: npm run build | ||
- name: 'Test' | ||
run: npm run test:coverage | ||
# Remove node_modules to see if this action runs entirely compiled | ||
- name: 'Remove Node Modules' | ||
run: rm -rf node_modules | ||
- name: 'Test Working Directory Option' | ||
uses: ./ | ||
with: | ||
working-directory: './test/mockReports' | ||
- name: 'Test Default Action' | ||
# run step also on failure of the previous step | ||
if: always() | ||
uses: ./ | ||
- uses: actions/checkout@v3 | ||
- name: "Install Node" | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16.x" | ||
- name: "Install Deps" | ||
run: npm install | ||
- name: "Build" | ||
run: npm run build | ||
- name: "Test" | ||
run: npm run test:coverage | ||
# Remove node_modules to see if this action runs entirely compiled | ||
- name: "Remove Node Modules" | ||
run: rm -rf node_modules | ||
- name: "Test Working Directory Option" | ||
uses: ./ | ||
with: | ||
working-directory: "./test/mockReports" | ||
- name: "Test Default Action" | ||
# run step also on failure of the previous step | ||
if: always() | ||
uses: ./ | ||
with: | ||
file-coverage-mode: "all" |
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
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