Skip to content

Commit

Permalink
Merge pull request #32 from jsolly/feat-test-PRs-no-deploy
Browse files Browse the repository at this point in the history
Add workflow for testing a PR (without a deploy)
  • Loading branch information
John Solly authored Mar 8, 2024
2 parents 1cc679e + 1aa7ae2 commit ab50e3c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/noDeploy.yml
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

0 comments on commit ab50e3c

Please sign in to comment.