Skip to content

Bump braces from 3.0.2 to 3.0.3 in /web (#190) #558

Bump braces from 3.0.2 to 3.0.3 in /web (#190)

Bump braces from 3.0.2 to 3.0.3 in /web (#190) #558

on: [push, pull_request]
name: Check web code
# If changing any of the commands, make the same changes to pre-push-check.sh!
jobs:
build-and-test:
name: Build and test web code (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["lts/*", "*"]
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
working-directory: ./web
- run: npm run build
working-directory: ./web
check-format:
name: Check formatting of web code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: "*"
- run: npm ci
working-directory: ./web
# npx --no-install uses the prettier version from package.json/package-lock.json
- run: npx --no-install prettier --check .
working-directory: ./web