Skip to content

Commit

Permalink
Remove node 16 from builds
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot committed Feb 5, 2024
1 parent a7e795a commit 9c4a534
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}

- name: Check all package.json's and tsconfig.json's are in sync.
run: |
pnpm sync
git diff --no-ext-diff --quiet --exit-code
- name: Build libraries and distributions ${{ matrix.node-version }}
- name: Build libraries and distributions
run: pnpm build

format:
Expand All @@ -37,8 +32,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
node-version: 18.x

- name: Format
run: pnpm format
Expand All @@ -49,38 +42,26 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
node-version: 18.x

- name: Lint
run: pnpm lint

types:
needs: [build]
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}

- name: Types Check ${{ matrix.node-version }}
- name: Types Check
run: pnpm types:check

test:
needs: [build]
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}

- name: Test ${{ matrix.node-version }}
- name: Test
run: pnpm jest

0 comments on commit 9c4a534

Please sign in to comment.