mirror of
https://github.com/chenasraf/DefinitelyTyped-tools.git
synced 2026-05-18 01:49:03 +00:00
Don't omit dependencies if only some deep modules are declared (#484)
* Don't omit dependencies if only some deep modules are declared * Run just check parse results from the workflow * Base test on styled-components-react-native
This commit is contained in:
24
.github/workflows/check-parse-results.yml
vendored
Normal file
24
.github/workflows/check-parse-results.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Check parse results
|
||||
#description: Confirm check parse results and the DT repo are in sync, to avoid potential DT CI outages.
|
||||
on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
check-parse-results:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn build
|
||||
- name: Parse declarations
|
||||
run: yarn workspace @definitelytyped/publisher parse
|
||||
- name: Check parse results
|
||||
run: yarn workspace @definitelytyped/dtslint-runner check-parse-results
|
||||
- if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ github.job }}
|
||||
path: packages/definitions-parser/data/
|
||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -36,6 +36,9 @@ jobs:
|
||||
run: yarn lint
|
||||
- name: test
|
||||
run: yarn test
|
||||
check-parse-results:
|
||||
needs: build_and_test
|
||||
uses: ./.github/workflows/check-parse-results.yml
|
||||
publish_alpha:
|
||||
name: publish alpha release
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user