27 lines
620 B
YAML
Raw Permalink Normal View History

2024-10-24 16:49:59 +03:00
name: Test deployment
on:
pull_request:
branches:
- master
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
2024-10-24 16:52:29 +03:00
cache: npm
2024-10-24 16:49:59 +03:00
- name: Install dependencies
2024-10-24 16:52:29 +03:00
run: npm ci
2024-10-24 16:49:59 +03:00
- name: Test build website
2024-10-24 16:52:29 +03:00
run: npm run build