-
Notifications
You must be signed in to change notification settings - Fork 333
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
65 changed files
with
2,852 additions
and
2,036 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 |
---|---|---|
|
@@ -11,15 +11,13 @@ on: | |
|
||
env: | ||
FORCE_COLOR: 2 | ||
NODE_COV: 20 | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
run: | ||
permissions: | ||
checks: write # for coverallsapp/github-action to create new checks | ||
contents: read # for actions/checkout to fetch code | ||
|
||
name: Node ${{ matrix.node }} on ${{ matrix.os }} | ||
|
@@ -47,20 +45,9 @@ jobs: | |
- name: Build | ||
run: npm run build | ||
|
||
- name: E2E Tests | ||
run: npm run test:e2e | ||
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV | ||
|
||
- name: Unit Tests | ||
run: npm run test:unit | ||
if: (!(startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV)) | ||
|
||
- name: Tests with coverage | ||
run: npx c8 -- npm run test:unit | ||
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV | ||
|
||
- name: Coveralls | ||
uses: coverallsapp/[email protected] | ||
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV | ||
with: | ||
github-token: '${{ secrets.GITHUB_TOKEN }}' | ||
- name: E2E Tests | ||
run: npm run test:e2e | ||
if: startsWith(matrix.os, 'ubuntu') && matrix.node == 20 |
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 |
---|---|---|
|
@@ -20,8 +20,6 @@ build | |
yarn.lock | ||
.DS_store | ||
|
||
/coverage/ | ||
|
||
# test files | ||
/test/temp_package*.json | ||
/test/.ncurc.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/bin/sh | ||
fail=0 | ||
|
||
npm run lint || fail=1 | ||
|
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,2 +1 @@ | ||
build/ | ||
coverage/ | ||
build/ |
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
Oops, something went wrong.