We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9f016f commit 56a5312Copy full SHA for 56a5312
1 file changed
.github/workflows/typescript.yml
@@ -32,4 +32,26 @@ jobs:
32
node-version: "20"
33
cache: "npm"
34
- run: npm install
35
- - run: npx eslint .
+ - run: npx eslint .
36
+ javascript_sync:
37
+ name: "Check for outdated JavaScript"
38
+ needs: tsc
39
+ runs-on: ubuntu-latest
40
+ strategy:
41
+ fail-fast: false
42
+ steps:
43
+ - uses: actions/checkout@v4
44
+ - name: Set up node.js
45
+ uses: actions/setup-node@v3
46
+ with:
47
+ node-version: "20"
48
+ cache: "npm"
49
+ - run: npm install
50
+ - run: rm -r files/js/
51
+ - run: |
52
+ npx tsc
53
+ - run: echo "::add-matcher::.github/diff.json"
54
+ - name: Show diff
55
+ run: |
56
+ git checkout -- package-lock.json
57
+ git diff --exit-code
0 commit comments