Skip to content

chore(deps): bump minimatch from 3.0.4 to 3.1.2 #18

chore(deps): bump minimatch from 3.0.4 to 3.1.2

chore(deps): bump minimatch from 3.0.4 to 3.1.2 #18

Workflow file for this run

name: Generate JavaScript app
on:
push:
jobs:
generate-app:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
runs-on: ubuntu-20.04
steps:
- name: Clone source code
uses: actions/checkout@v3.1.0 # https://github.com/actions/checkout
with:
# Whether to configure the token or SSH key with the local git config. Default: true
persist-credentials: false
- name: Setup NodeJS
uses: actions/setup-node@v3.5.1 # https://github.com/actions/setup-node
with:
node-version: 18
cache: 'npm'
- name: Install project dependencies
run: npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
- name: Generate JavaScript + Express application
run: ../../src/cli.js --lang js
working-directory: examples/js
- name: Check whether all modified files have been committed
run: >-
MODIFIED_FILES="$(git status --short)";
if [ -n "$MODIFIED_FILES" ]; then
echo >&2 "ERROR: the following generated files have not been committed:";
echo >&2 "$MODIFIED_FILES";
exit 1;
fi