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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16]
|
||||
node-version: [18]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16]
|
||||
node-version: [18]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user