praiadeseselle/site/modules/PrivacyWire/.github/workflows/build.yml

32 lines
626 B
YAML
Raw Normal View History

2024-04-04 15:12:59 +02:00
name: Build and conditionally comit changes
on:
push:
branches:
- master
jobs:
install-build-commit:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
- name: Set up Node.js
uses: actions/setup-node@v4.0.2
with:
node-version: "18"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "CI build run [skip ci]"