Skip to content

Commit

Permalink
add static-build-test.yml for testing build on prs
Browse files Browse the repository at this point in the history
  • Loading branch information
echoscriptor committed Sep 15, 2023
1 parent ac32730 commit 102f05c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/static-build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Simple workflow for deploying static content to GitHub Pages
name: Test build of static website

on:
# Runs on pushes targeting the default branch
pull_request:

jobs:
# Single deploy job since we're just deploying
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install && cd examples && npm install
- run: cd examples && npm run build

0 comments on commit 102f05c

Please sign in to comment.