Skip to content

Deploy a test website per pull request instead of beta.habrasanta.org #43

Deploy a test website per pull request instead of beta.habrasanta.org

Deploy a test website per pull request instead of beta.habrasanta.org #43

Workflow file for this run

name: Test each and every commit
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install dependencies
run: npm ci
- name: Make sure there are no type checking errors
run: npx tsc --noEmit
- name: Make sure a production build is possible from this commit
run: npm run build
env:
NODE_ENV: production