Skip to content

docker: bump library/node from 22.13.1-alpine3.20 to 23.8.0-alpine3.20 #1815

docker: bump library/node from 22.13.1-alpine3.20 to 23.8.0-alpine3.20

docker: bump library/node from 22.13.1-alpine3.20 to 23.8.0-alpine3.20 #1815

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
frontend:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Use Node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version: '20.x'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
backend:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Go
uses: actions/setup-go@6c1fd22b67f7a7c42ad9a45c0f4197434035e429
with:
go-version: '1.22'
- 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@051d91933864810ecd5e2ea2cfd98f6a5bca5347
with:
working-directory: ./backend
version: v1.63.4
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number
skip-cache: true
- name: Setup Node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version: '20.x'
- name: Install NPM dependencies
run: npm ci
- 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)