ci: implement a new github action utilizing the semantic-release tool… #60
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
# This workflow will do a clean installation of node dependencies, and then build the source code | |
# For information on more advanced testing see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Node.js CI | |
on: [push] | |
jobs: | |
node-js-build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./webui | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Generate support files | |
working-directory: ./ | |
run: make generate | |
- name: Clean Install Node.js | |
run: npm ci | |
- name: Build Node.js | |
run: npm run build |