Skip to content

Update all frontend dependencies #2083

Update all frontend dependencies

Update all frontend dependencies #2083

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
- name: Use Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
# renovate: datasource=node-version packagename=node
node-version: '24.14.1'
- name: Install dependencies
run: npm ci && npm run postinstall
- name: Run tests
run: npm test
backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
# renovate: datasource=golang-version depName=go
go-version: '1.26.2'
- name: Check Go module vendoring
working-directory: ./backend
run: |
go mod tidy
go mod vendor
go mod verify
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1)
- name: Run Go static checks
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
working-directory: ./backend
# renovate: datasource=github-releases depName=golangci/golangci-lint
version: v2.11.4
args: --config=.golangci.yml
skip-cache: true
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
# renovate: datasource=node-version packagename=node
node-version: '24.14.1'
- name: Install NPM dependencies
run: npm ci && npm run postinstall
- name: npm run prettier
run: |
npm run prettier
git status --porcelain
test -z "$(git status --porcelain)" || (echo "please run `npm run prettier` and submit changes"; exit 1)
- name: npm run lint
run: npm run lint
- name: Check proto files
working-directory: ./backend
run: |
./ctl.sh update-proto
test -z "$(git status --porcelain)" || (echo "please run './ctl.sh update-proto', and submit your changes"; exit 1)