Skip to content

Only deploy Github pages on branch gph #107

Only deploy Github pages on branch gph

Only deploy Github pages on branch gph #107

Workflow file for this run

name: Build

Check failure on line 1 in .github/workflows/actions.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/actions.yml

Invalid workflow file

you may only define one of `branches` and `branches-ignore` for a single event
on:
push:
branches:
- "**"
branches-ignore:
- "ghp"
tags-ignore:
- "v*.*.*"
jobs:
build:
name: wtd
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Volta
uses: volta-cli/action@v4
- name: Install
run: |
npm ci
- name: Lint
run: |
npm run lint
- name: Build
run: |
npm run build
- name: Test
run: |
npm run test
# Always check if production build works
- name: Build Production
run: |
npm run build:production