Skip to content

Bump minimatch from 3.1.2 to 3.1.5 in /webapp/frontend #267

Bump minimatch from 3.1.2 to 3.1.5 in /webapp/frontend

Bump minimatch from 3.1.2 to 3.1.5 in /webapp/frontend #267

Workflow file for this run

name: Pre-deployment CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 22
distribution: temurin
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 22
# Use preinstalled PostgreSQL
- name: Start PostgreSQL on Ubuntu
run: |
sudo systemctl start postgresql.service
pg_isready
- name: Setup DB
run: |
sudo -u postgres psql --command="CREATE USER mindcode PASSWORD 'mindcode'" --command="\du"
sudo -u postgres createdb --owner=mindcode mindcode_test
PGPASSWORD=mindcode psql --username=mindcode --host=localhost --list
- name: Confirm DB accessible
run: |
PGPASSWORD=mindcode psql --dbname postgresql://mindcode:@127.0.0.1:5432/mindcode_test --command "SELECT version()"
rm webapp/src/test/resources/application.properties
echo >> webapp/src/test/resources/application.properties "spring.datasource.url=jdbc:postgresql://localhost:5432/mindcode_test"
echo >> webapp/src/test/resources/application.properties "spring.datasource.username=mindcode"
echo >> webapp/src/test/resources/application.properties "spring.datasource.password=mindcode"
- name: Cache
uses: actions/cache@v4
with:
# A list of files, directories, and wildcard patterns to cache and restore
path: ~/.m2
# An explicit key for restoring and saving the cache
key: maven-v1
# An ordered list of keys to use for restoring the cache if no cache hit occurred for key
# restore-keys: # optional
# The chunk size used to split up large files during upload, in bytes
# upload-chunk-size: # optional
- name: Build with Maven
run: mvn -B package --file pom.xml