Skip to content

Commit

Permalink
chore: add github branch build
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisingenhaag committed Mar 23, 2024
1 parent 38a1070 commit 296f22b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/npm-build-branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build branch

on:
push:
branches-ignore:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- run: npm run build --if-present
- run: npm test

21 changes: 21 additions & 0 deletions .github/workflows/npm-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- run: npm run build --if-present
- run: npm test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# GetMyDeck-App

![Build](https://github.com/chrisingenhaag/getmydeck-app/actions/workflows/gradle-build.yml/badge.svg?branch=main)

SvelteKit based web frontend for [getmydeck.ingenhaag.dev](https://getmydeck.ingenhaag.dev)

## Developing
Expand Down

0 comments on commit 296f22b

Please sign in to comment.