Skip to content

rc10house running CI suite #4

rc10house running CI suite

rc10house running CI suite #4

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
run-name: ${{ github.actor }} running CI suite
on:
push:
branches:
- master
- test
- 448-improve-GH-actions #TODO: remove this
pull_request:
branches:
- master
- test
jobs:
CI-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
# See active and security support for Node.js at https://endoflife.date/nodejs
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci # clean install
- run: npm run format
- run: npm run build
- run: npm run lint
# TODO: add type checking
# TODO: add skywalking-eyes for licensing
- run: npm run test
# TODO: add automatic release notes
# TODO: add cronjobs for automatically triggering new release candidates
- name: Check License Header
uses: apache/skywalking-eyes/header@main
with:
log: info # optional: set the log level. The default value is `info`.
config: .licenserc.yaml # optional: set the config file. The default value is `.licenserc.yaml`.
mode: fix # optional: Which mode License-Eye should be run in. Choices are `check` or `fix`. The default value is `check`.