mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Trying a new github workflow to install javascript packages
This commit is contained in:
parent
1290c757a2
commit
22f37df2a6
26
.github/workflows/javascript-packages.yaml
vendored
Normal file
26
.github/workflows/javascript-packages.yaml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: javascript-packages
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- build/javascript/**
|
||||
|
||||
jobs:
|
||||
run:
|
||||
name: npm run build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: cd build/javascript && npm run build
|
||||
|
||||
- name: Commit changes
|
||||
uses: EndBug/add-and-commit@v5
|
||||
with:
|
||||
author_name: Owncast
|
||||
author_email: owncast@owncast.online
|
||||
message: "Commit updated Javascript packages"
|
||||
add: "build/javascript"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user