re-generate commons #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://help.github.com/en/actions | |
# https://github.com/actions | |
# https://github.com/actions/checkout | |
# https://github.com/actions/setup-node | |
name: CI on Push | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
paths-ignore: | |
- 'docs/**' | |
- 'LICENSE' | |
- '**.md' | |
- '.gitignore' | |
- '.npmignore' | |
- '.vscode/**' | |
- '.github/FUNDING.yml' | |
- 'typedoc.json' | |
jobs: | |
npm-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# nvm ls-remote --lts | grep Latest | |
node-version: [^16.20.0, ^18.15.0] | |
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners | |
os: [ubuntu-22.04, windows-2022, macos-12] | |
steps: | |
- name: Checkout | |
# https://github.com/actions/checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Setup Node.js ${{ matrix.node-version }} on ${{ matrix.os }} | |
# https://github.com/actions/setup-node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Show node & npm versions, environment | |
run: | | |
node --version | |
npm --version | |
env | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm run test-100-c8 | |
env: | |
CI: true |