This repository has been archived by the owner on Jul 14, 2024. It is now read-only.
Build and commit ptcs_ui #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and commit ptcs_ui | |
on: | |
push: | |
branches-ignore: | |
- main | |
paths: | |
- 'ptcs/ptcs_ui/**' | |
- 'ptcs/package-lock.json' | |
- 'ptcs/package.json' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'ptcs' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: npm | |
cache-dependency-path: 'ptcs/package-lock.json' | |
- run: npm ci | |
- run: npm run ui:build | |
- name: Add and commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions |