frontend: headlamp-plugin: npm audit fix postcss 8.4.31 nanoid 3.3.6 #3071
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 App | |
on: | |
pull_request: | |
paths: | |
- 'frontend/**' | |
- 'Makefile' | |
- '.github/**' | |
- 'app/**' | |
- 'backend/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'frontend/**' | |
- Makefile | |
- '.github/**' | |
- 'app/**' | |
- 'backend/**' | |
jobs: | |
build-linux: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.20.*' | |
- name: App linux | |
run: | | |
make app-linux | |
build-windows: | |
runs-on: windows-2019 | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.20.*' | |
- name: Dependencies | |
uses: crazy-max/ghaction-chocolatey@v1 | |
with: | |
args: install make | |
- name: App Windows | |
run: make app-win | |
build-mac: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.20.*' | |
- name: Dependencies | |
run: brew install make | |
- name: App Mac | |
run: | | |
make app-mac |