Some checks failed
CI Pipeline (nottags) / security (push) Successful in 17s
CI Pipeline (tags) / security (push) Successful in 17s
CI Pipeline (nottags) / test (push) Failing after 52s
CI Pipeline (tags) / test (push) Failing after 50s
CI Pipeline (tags) / release (push) Has been skipped
CI Pipeline (tags) / metadata (push) Has been skipped
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
name: "CI Pipeline (nottags)"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "**"
|
|
tags-ignore:
|
|
- "**"
|
|
|
|
jobs:
|
|
security:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
container:
|
|
image: code.foss.global/host.today/ht-docker-node:npmci
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up npmci
|
|
run: npmci node install stable
|
|
|
|
- name: Prepare project
|
|
run: npmci npm prepare
|
|
|
|
- name: Audit production dependencies
|
|
run: npmci command npm audit --audit-level=high --only=prod
|
|
continue-on-error: true
|
|
|
|
- name: Audit development dependencies
|
|
run: npmci command npm audit --audit-level=high --only=dev
|
|
continue-on-error: true
|
|
|
|
test:
|
|
needs: security
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: code.foss.global/host.today/ht-docker-node:npmci
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up npmci
|
|
run: npmci node install stable
|
|
|
|
- name: Prepare project
|
|
run: npmci npm prepare
|
|
|
|
- name: Install dependencies
|
|
run: npmci npm install
|
|
|
|
- name: Run tests
|
|
run: npmci npm test
|
|
|
|
- name: Build project
|
|
run: npmci npm build
|
|
|
|
- name: Build documentation
|
|
run: npmci npm buildDocs |