Clone of dependabot: Bump braces from 3.0.2 to 3.0.3 in /webui #15437
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
validator: | |
name: Run Linters and Checkers | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check-out code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22.6" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.17.0" | |
cache: "npm" | |
cache-dependency-path: webui/package-lock.json | |
- uses: bufbuild/[email protected] | |
with: | |
github_token: ${{ github.token }} | |
- name: Generate code | |
env: | |
NODE_OPTIONS: "--max-old-space-size=4096" | |
run: | | |
make gen | |
make validate-clients-untracked-files | |
- name: Checks validator | |
env: | |
GOLANGCI_LINT_FLAGS: --out-format github-actions | |
run: make checks-validator | |
test-go: | |
name: Run Go tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check-out code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22.6" | |
- name: Run Go tests | |
run: | | |
mkdir ./webui/dist | |
touch ./webui/dist/index.html | |
make test-go |