* deploy on node 18, run tests on node 20 * run test-bug-run-badge on node 18 * you missed a spot * ..and another
35 lines
765 B
YAML
35 lines
765 B
YAML
name: Package Library
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
push:
|
|
branches-ignore:
|
|
- 'gh-pages'
|
|
- 'dependabot/**'
|
|
|
|
jobs:
|
|
test-package-lib:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- node: '16'
|
|
engine-strict: 'false'
|
|
- node: '18'
|
|
engine-strict: 'true'
|
|
- node: '20'
|
|
engine-strict: 'false'
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
env:
|
|
NPM_CONFIG_ENGINE_STRICT: ${{ matrix.engine-strict }}
|
|
|
|
- name: Package tests
|
|
uses: ./.github/actions/package-tests
|