Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update to valid, active Node versions #7127

Merged
merged 1 commit into from Dec 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
56 changes: 27 additions & 29 deletions .github/workflows/ci_main.yml
Expand Up @@ -6,39 +6,37 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '13', '14', '15', '16' ]
node: ['14', '16', '18']

name: Node ${{ matrix.node }} build

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: install
run: |
npm install -g npm@latest
npm ci
- name: lint
run: npm run lint
- name: build
run: npm run build:package
- name: test
run: |
npm test
npm run test:side-effects
- name: dtslint
run: npm run dtslint
- name: api_guardian
run: npm run api_guardian
- name: import
if: ${{ matrix.node == '14' }}
run: npm run test:import
- name: import
if: ${{ matrix.node == '14' || matrix.node == '15' }}
run: npm run test:esm

- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: install
run: |
npm install -g npm@latest
npm ci
- name: lint
run: npm run lint
- name: build
run: npm run build:package
- name: test
run: |
npm test
npm run test:side-effects
- name: dtslint
run: npm run dtslint
- name: api_guardian
run: npm run api_guardian
- name: import
if: ${{ matrix.node == '14' }}
run: npm run test:import
- name: import
if: ${{ matrix.node == '14' || matrix.node == '15' }}
run: npm run test:esm
24 changes: 11 additions & 13 deletions .github/workflows/ci_ts_latest.yml
Expand Up @@ -6,23 +6,21 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14' ]
node: ['18']

name: ts@latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: build
run: |
npm install -g npm@latest
npm ci
npm install --legacy-peer-deps --no-save typescript@latest tslib@latest @types/node@latest
npm run compile

- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: build
run: |
npm install -g npm@latest
npm ci
npm install --legacy-peer-deps --no-save typescript@latest tslib@latest @types/node@latest
npm run compile