* constrain auto-close and enforce-dependency-review triggers we don't need to run these on PR close or when we apply labels, for example * skip workflows on push to dependabot branch * use PAT if available else fall back to workflow token * further constrain pull_request triggers Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
26 lines
506 B
YAML
26 lines
506 B
YAML
name: Main@node 17
|
|
on:
|
|
pull_request:
|
|
types: [opened, edited, reopened, synchronize]
|
|
push:
|
|
branches-ignore:
|
|
- 'gh-pages'
|
|
- 'dependabot/**'
|
|
|
|
jobs:
|
|
test-main-17:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
node-version: 17
|
|
env:
|
|
NPM_CONFIG_ENGINE_STRICT: 'false'
|
|
|
|
- name: Core tests
|
|
uses: ./.github/actions/core-tests
|