Fix CJS types (#2880)

* Fix Vue type error

* Add separate CTS types

* Add “Are The Types Wrong” CLI

* wip

* Bump node versions in workflows

* wip

* wip

* wip

* yolo

* yolo (again?)

* wip

* wip
This commit is contained in:
Jordan Pittman
2023-12-12 11:43:34 -05:00
committed by GitHub
parent c2096b0ddd
commit c25e2e6036
14 changed files with 233 additions and 14 deletions
+17 -1
View File
@@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true
env:
NODE_VERSION: 16.x
NODE_VERSION: 18.x
jobs:
install:
@@ -80,3 +80,19 @@ jobs:
run: yarn build
env:
CI: true
check-types:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Begin CI...
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Check Types
run: yarn lint-types
env:
CI: true
+7
View File
@@ -26,6 +26,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Check Types
run: |
yarn build
yarn lint-types
env:
CI: true
- run: git fetch --tags -f
- name: Resolve version
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
node-version: [16]
node-version: [18]
steps:
- uses: actions/checkout@v3
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
node-version: [16]
node-version: [18]
steps:
- uses: actions/checkout@v3