-
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.
Merge pull request #32 from jsolly/feat-test-PRs-no-deploy
Add workflow for testing a PR (without a deploy)
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: No Deploy (Test and Build) | ||
|
||
on: | ||
# Run on any push to any branch except master | ||
push: | ||
branches-ignore: [master] | ||
|
||
# Run on any pull request targeting master | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
testAndBuild: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
- name: Lint | ||
run: pnpm run lint | ||
- name: Deep Type check | ||
run: pnpm run type-check | ||
- name: Build application | ||
run: pnpm run build |