-
-
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.
Signed-off-by: Lexus Drumgold <[email protected]>
- Loading branch information
1 parent
0279edc
commit 5b36f88
Showing
14 changed files
with
681 additions
and
790 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
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
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
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ | |
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#push | ||
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch | ||
# - https://github.com/actions/checkout | ||
# - https://github.com/actions/setup-node | ||
# - https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#yarn2-configuration | ||
# - https://github.com/actions/upload-artifact | ||
# - https://github.com/codecov/codecov-action | ||
# - https://github.com/hmarr/debug-action | ||
|
@@ -58,13 +60,14 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
cache: yarn | ||
cache-dependency-path: yarn.lock | ||
node-version: ${{ matrix.node-version }} | ||
- id: debug | ||
name: Print environment variables and event payload | ||
uses: hmarr/[email protected] | ||
- id: yarn | ||
name: Install dependencies | ||
run: yarn --no-immutable | ||
run: yarn ${{ github.actor == 'dependabot[bot]' && '--no-immutable' || '--immutable' }} | ||
- id: format | ||
name: Check code formatting | ||
run: yarn check:format | ||
|
@@ -76,7 +79,7 @@ jobs: | |
run: yarn check:spelling | ||
- id: typecheck | ||
name: Run typecheck | ||
run: yarn typecheck | ||
run: yarn typecheck && yarn check:types:build | ||
- id: test | ||
name: Run tests | ||
run: yarn test:cov --segfault-retry=3 | ||
|
@@ -85,15 +88,15 @@ jobs: | |
run: yarn pack -o %s-%v.tgz | ||
env: | ||
NODE_ENV: production | ||
- id: package-version | ||
- id: version | ||
name: Get package version | ||
run: echo "result=$(jq .version package.json -r)" >> $GITHUB_OUTPUT | ||
- id: package-archive | ||
- id: archive | ||
name: Archive production artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: | | ||
${{ format('@{0}-{1}-{2}', github.repository_owner, github.event.repository.name, steps.package-version.outputs.result) }} | ||
${{ format('@{0}-{1}-{2}', github.repository_owner, github.event.repository.name, steps.version.outputs.result) }} | ||
path: '*.tgz' | ||
- id: codecov | ||
name: Upload coverage report to Codecov | ||
|
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
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.