Skip to content

BACKLOG-22238 Rename js-server-engine to js-server-core #27

BACKLOG-22238 Rename js-server-engine to js-server-core

BACKLOG-22238 Rename js-server-engine to js-server-core #27

Workflow file for this run

# This workflow is triggered every time a change is pushed to any branches
# Github actions command reference: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
name: On Code Change (PR)
# The workflow could also be triggered on PRs
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
static-analysis:
name: Static Analysis (linting, vulns)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jahia/jahia-modules-action/static-analysis@v2
with:
node_version: 18
auditci_level: critical
build:
name: Build NPM Module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jahia/jahia-modules-action/build-step-npm@v2
npm-publish:
name: Publish NPM Module to Maven repository
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish NPM package
uses: jahia/jahia-modules-action/publish-npm@v2
with:
mvn_settings_filepath: .github/maven.settings.xml
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
module_path: ./
node_version: 18