-
-
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
1 parent
9a36660
commit ab2b6db
Showing
6 changed files
with
448 additions
and
271 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "PR Build and Test" | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build-and-test: | ||
permissions: | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Install Node" | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.x" | ||
- name: 📥 Install Dependencies | ||
run: yarn --frozen-lockfile | ||
|
||
- name: "Build" | ||
run: yarn build | ||
|
||
- name: run coverage | ||
run: yarn test:coverage | ||
|
||
# Remove node_modules to see if this action runs entirely compiled | ||
- name: "Remove Node Modules" | ||
run: rm -rf node_modules | ||
|
||
- name: "PR Test Reports" | ||
uses: hyperse-io/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
include-all-projects: "false" | ||
name: "PR Test Reports" |
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 |
---|---|---|
|
@@ -31,9 +31,6 @@ jobs: | |
- name: 'Run test coverage' | ||
run: yarn test:coverage | ||
|
||
- name: Hyperse Vitest Coverage Reporter | ||
uses: hyperse-io/[email protected] | ||
|
||
# @link https://github.com/changesets/action | ||
- name: Create Release Pull Request or Publish to npm | ||
id: changesets | ||
|
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.