Skip to content

Dependency updates #2889

Dependency updates

Dependency updates #2889

Workflow file for this run

name: Generator Tests
on:
workflow_dispatch:
push:
branches:
- '*'
- '!dependabot/**'
pull_request:
defaults:
run:
shell: bash
concurrency:
# Group by workflow and ref, limit to 1 for pull requests
group: ${{ github.workflow }}-${{ github.ref }}-${{ startsWith(github.ref, 'refs/pull/') || github.run_number }}
# Cancel intermediate pull request builds
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
lint-and-test:
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.title, '[skip ci]') && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.ref_type, '[tag]')"
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
node_version: [16.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-node@v3.7.0
with:
node-version: ${{ matrix.node_version }}
- run: git --no-pager log -n 10 --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue) <%an>%Creset' --abbrev-commit
- name: Config git variables
env:
JHI_SCRIPTS: ./test/scripts
run: $JHI_SCRIPTS/git-config.sh
- name: npm ci
run: npm ci
- name: lint and test
run: npm run test